Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ ///// 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- HttpRuntime.cs
- TreeNodeConverter.cs
- NativeMethods.cs
- UnsafeNativeMethods.cs
- ThumbButtonInfoCollection.cs
- MonthCalendar.cs
- KeyFrames.cs
- DbConnectionPoolGroup.cs
- BindingParameterCollection.cs
- JoinElimination.cs
- RangeBase.cs
- ScopeCompiler.cs
- DataViewManager.cs
- ThreadPool.cs
- Serializer.cs
- log.cs
- VsPropertyGrid.cs
- DelegatingTypeDescriptionProvider.cs
- DataGridSortingEventArgs.cs
- UncommonField.cs
- QilTernary.cs
- PropertyTab.cs
- KerberosReceiverSecurityToken.cs
- Transform3DCollection.cs
- TreeViewEvent.cs
- ImportException.cs
- SmiContextFactory.cs
- ProcessHostFactoryHelper.cs
- XamlFilter.cs
- BlurBitmapEffect.cs
- RequestTimeoutManager.cs
- LiteralControl.cs
- PolicyUnit.cs
- ToolStripLocationCancelEventArgs.cs
- CodeTypeConstructor.cs
- DockPattern.cs
- tibetanshape.cs
- SourceFileInfo.cs
- MenuItemStyleCollection.cs
- CoTaskMemUnicodeSafeHandle.cs
- SwitchLevelAttribute.cs
- Style.cs
- EncryptedPackageFilter.cs
- IndexerNameAttribute.cs
- DesignerImageAdapter.cs
- UnsafeNativeMethods.cs
- ImageCodecInfoPrivate.cs
- StructureChangedEventArgs.cs
- BlurEffect.cs
- GenericPrincipal.cs
- COM2ComponentEditor.cs
- HttpDictionary.cs
- RefType.cs
- PropVariant.cs
- RegisteredHiddenField.cs
- FilterException.cs
- LayoutEngine.cs
- PackageRelationshipSelector.cs
- ToReply.cs
- ColumnResizeUndoUnit.cs
- SplineKeyFrames.cs
- InternalCache.cs
- OpenTypeLayoutCache.cs
- loginstatus.cs
- TableLayoutRowStyleCollection.cs
- TemplateBamlTreeBuilder.cs
- FindSimilarActivitiesVerb.cs
- DeferredElementTreeState.cs
- PropertyNames.cs
- Rfc4050KeyFormatter.cs
- DictionaryItemsCollection.cs
- odbcmetadatacollectionnames.cs
- ComboBox.cs
- MobileControlBuilder.cs
- HyperLink.cs
- SerializableAttribute.cs
- WebException.cs
- XmlEntityReference.cs
- ToolStripTextBox.cs
- OleAutBinder.cs
- CmsInterop.cs
- ZoneMembershipCondition.cs
- MediaPlayer.cs
- EnlistmentState.cs
- SupportsEventValidationAttribute.cs
- ContentTypeSettingClientMessageFormatter.cs
- DataStreams.cs
- ProfileInfo.cs
- SaveFileDialog.cs
- FieldNameLookup.cs
- SQLDecimal.cs
- UnsafeNativeMethods.cs
- SortedSetDebugView.cs
- templategroup.cs
- ProgressBarRenderer.cs
- ComplexTypeEmitter.cs
- RelatedEnd.cs
- Crc32.cs
- ReflectPropertyDescriptor.cs
- ResourceReferenceExpressionConverter.cs