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
- SurrogateChar.cs
- SelectionPatternIdentifiers.cs
- CompilationLock.cs
- SpinLock.cs
- GridItemProviderWrapper.cs
- VectorCollectionConverter.cs
- RouteUrlExpressionBuilder.cs
- RequestCache.cs
- ExtendedProtectionPolicyTypeConverter.cs
- BaseResourcesBuildProvider.cs
- BinaryObjectInfo.cs
- FileRecordSequenceCompletedAsyncResult.cs
- BindingExpressionUncommonField.cs
- ScriptingWebServicesSectionGroup.cs
- RadioButtonRenderer.cs
- StateWorkerRequest.cs
- ConversionHelper.cs
- ProcessHostFactoryHelper.cs
- PresentationAppDomainManager.cs
- KerberosSecurityTokenProvider.cs
- WebControlAdapter.cs
- StringWriter.cs
- ResponseStream.cs
- PrimitiveType.cs
- Activator.cs
- TextDecorationCollectionConverter.cs
- COM2ExtendedTypeConverter.cs
- ListViewItemEventArgs.cs
- SoapInteropTypes.cs
- ErrorFormatterPage.cs
- NumericUpDownAccelerationCollection.cs
- XmlSchemaComplexContentExtension.cs
- ClientConfigurationHost.cs
- oledbconnectionstring.cs
- Queue.cs
- CharAnimationUsingKeyFrames.cs
- TransactedBatchingBehavior.cs
- AppSettingsExpressionBuilder.cs
- Registration.cs
- ScaleTransform.cs
- SelectionWordBreaker.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- COM2Enum.cs
- StringInfo.cs
- RefreshResponseInfo.cs
- Point4DConverter.cs
- TextServicesDisplayAttribute.cs
- SrgsGrammarCompiler.cs
- WebPartRestoreVerb.cs
- HttpRequestCacheValidator.cs
- HttpCacheParams.cs
- IsolatedStorage.cs
- ManipulationPivot.cs
- SafeRightsManagementEnvironmentHandle.cs
- XmlArrayAttribute.cs
- ElementUtil.cs
- ProtocolsInstallComponent.cs
- XmlAnyAttributeAttribute.cs
- Span.cs
- DataGridViewRowEventArgs.cs
- NativeActivityFaultContext.cs
- WebHttpSecurity.cs
- Point4D.cs
- BamlLocalizationDictionary.cs
- DuplicateWaitObjectException.cs
- graph.cs
- DependencyObjectType.cs
- OleDbPermission.cs
- SqlDataSourceFilteringEventArgs.cs
- ProfessionalColors.cs
- ButtonPopupAdapter.cs
- Tablet.cs
- X509ChainPolicy.cs
- AssociationSetEnd.cs
- EmptyEnumerable.cs
- XmlDataSourceView.cs
- MetafileHeaderWmf.cs
- _AutoWebProxyScriptHelper.cs
- GraphicsContext.cs
- CryptoConfig.cs
- Int64KeyFrameCollection.cs
- ProbeMatchesCD1.cs
- NativeMethodsOther.cs
- NameTable.cs
- AnnotationAdorner.cs
- AffineTransform3D.cs
- SQLDateTime.cs
- MenuItemCollectionEditorDialog.cs
- UniqueID.cs
- CurrentChangingEventManager.cs
- EntityTemplateUserControl.cs
- IndividualDeviceConfig.cs
- ConfigurationSettings.cs
- VolatileResourceManager.cs
- CodeAttributeArgument.cs
- MultiBindingExpression.cs
- Win32.cs
- DeclaredTypeValidatorAttribute.cs
- FacetEnabledSchemaElement.cs
- NetStream.cs