Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / InternalControlCollection.cs / 1 / InternalControlCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { ////// internal class InternalControlCollection : ControlCollection { internal InternalControlCollection(Control owner) : base(owner) { } private void ThrowNotSupportedException() { throw new HttpException(SR.GetString(SR.Control_does_not_allow_children, Owner.GetType().ToString())); } public override void Add(Control child) { ThrowNotSupportedException(); } public override void AddAt(int index, Control child) { ThrowNotSupportedException(); } #if SHIPPINGADAPTERS internal void AddInternal(Control child) { base.Add(child); } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Represents a ControlCollection that controls can only be added to internally. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { ////// internal class InternalControlCollection : ControlCollection { internal InternalControlCollection(Control owner) : base(owner) { } private void ThrowNotSupportedException() { throw new HttpException(SR.GetString(SR.Control_does_not_allow_children, Owner.GetType().ToString())); } public override void Add(Control child) { ThrowNotSupportedException(); } public override void AddAt(int index, Control child) { ThrowNotSupportedException(); } #if SHIPPINGADAPTERS internal void AddInternal(Control child) { base.Add(child); } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Represents a ControlCollection that controls can only be added to internally. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListViewDeleteEventArgs.cs
- ScheduleChanges.cs
- ObjectDataSourceStatusEventArgs.cs
- ToolStripGripRenderEventArgs.cs
- GraphicsPath.cs
- PolicyManager.cs
- ObjectIDGenerator.cs
- PropertyEmitterBase.cs
- WorkflowServiceAttributes.cs
- EdgeProfileValidation.cs
- HtmlControl.cs
- IndexedGlyphRun.cs
- ConfigurationErrorsException.cs
- _NestedSingleAsyncResult.cs
- MatrixKeyFrameCollection.cs
- UserValidatedEventArgs.cs
- SqlDataSourceStatusEventArgs.cs
- basenumberconverter.cs
- AggregateException.cs
- DatagridviewDisplayedBandsData.cs
- QueryComponents.cs
- PointCollectionValueSerializer.cs
- SqlNotificationRequest.cs
- SortableBindingList.cs
- PrivilegedConfigurationManager.cs
- WorkflowValidationFailedException.cs
- AlternationConverter.cs
- FixUpCollection.cs
- EntityCommandDefinition.cs
- ISAPIWorkerRequest.cs
- ServiceBehaviorAttribute.cs
- TemplatedMailWebEventProvider.cs
- CachingHintValidation.cs
- ParseChildrenAsPropertiesAttribute.cs
- SecurityKeyType.cs
- DataSourceSelectArguments.cs
- RequestCachingSection.cs
- ValueChangedEventManager.cs
- InvalidateEvent.cs
- CacheHelper.cs
- DuplicateWaitObjectException.cs
- ProtectedProviderSettings.cs
- ScrollableControl.cs
- DrawingContextWalker.cs
- TableCellCollection.cs
- HierarchicalDataBoundControlAdapter.cs
- SqlDataSourceSelectingEventArgs.cs
- SourceFileBuildProvider.cs
- EnumType.cs
- XmlSchemaDatatype.cs
- CommonGetThemePartSize.cs
- NumericExpr.cs
- ScriptIgnoreAttribute.cs
- SqlBulkCopy.cs
- Oid.cs
- TreeViewImageKeyConverter.cs
- ResXBuildProvider.cs
- SqlServer2KCompatibilityAnnotation.cs
- CategoryList.cs
- Int32RectConverter.cs
- CacheHelper.cs
- NumberFormatInfo.cs
- SystemResourceHost.cs
- Label.cs
- ResourceManagerWrapper.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Bitmap.cs
- SingleResultAttribute.cs
- SerializationStore.cs
- QueryContinueDragEventArgs.cs
- EntityModelBuildProvider.cs
- EntitySqlQueryCacheKey.cs
- GridView.cs
- DataGridViewComboBoxEditingControl.cs
- ResolveCriteria.cs
- MetabaseServerConfig.cs
- Events.cs
- Journaling.cs
- DataTablePropertyDescriptor.cs
- XmlAggregates.cs
- CorrelationHandle.cs
- EntitySetRetriever.cs
- TextTreeRootTextBlock.cs
- Matrix.cs
- TokenBasedSet.cs
- BypassElement.cs
- DataMemberFieldEditor.cs
- WebPartZoneCollection.cs
- SafeNativeMethods.cs
- XmlEntity.cs
- UnmanagedMarshal.cs
- StorageMappingItemCollection.cs
- AssemblyResourceLoader.cs
- TextFormatter.cs
- XmlEntityReference.cs
- CodeTypeParameter.cs
- CodeExpressionCollection.cs
- ITextView.cs
- ComponentCollection.cs
- Graphics.cs