Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / EmptyControlCollection.cs / 1305376 / EmptyControlCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Collections; using System.Security.Permissions; ////// public class EmptyControlCollection : ControlCollection { ////// Represents a ControlCollection that is always empty. /// ////// public EmptyControlCollection(Control owner) : base(owner) { } private void ThrowNotSupportedException() { throw new HttpException(SR.GetString(SR.Control_does_not_allow_children, Owner.GetType().ToString())); } ///[To be supplied.] ////// public override void Add(Control child) { ThrowNotSupportedException(); } ///[To be supplied.] ////// public override void AddAt(int index, Control child) { ThrowNotSupportedException(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Collections; using System.Security.Permissions; ////// public class EmptyControlCollection : ControlCollection { ////// Represents a ControlCollection that is always empty. /// ////// public EmptyControlCollection(Control owner) : base(owner) { } private void ThrowNotSupportedException() { throw new HttpException(SR.GetString(SR.Control_does_not_allow_children, Owner.GetType().ToString())); } ///[To be supplied.] ////// public override void Add(Control child) { ThrowNotSupportedException(); } ///[To be supplied.] ////// public override void AddAt(int index, Control child) { ThrowNotSupportedException(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CornerRadius.cs
- FixedSOMTextRun.cs
- MethodExpression.cs
- Zone.cs
- PlainXmlWriter.cs
- ErrorLog.cs
- LineUtil.cs
- WindowsSidIdentity.cs
- XPathException.cs
- StretchValidation.cs
- FontFamilyIdentifier.cs
- XmlSchemaSimpleContentRestriction.cs
- ResourceSetExpression.cs
- _FixedSizeReader.cs
- DictionaryGlobals.cs
- OperationParameterInfo.cs
- SmtpFailedRecipientsException.cs
- EmbeddedMailObjectCollectionEditor.cs
- LogicalExpr.cs
- BitVec.cs
- SupportingTokenParameters.cs
- ImageListDesigner.cs
- WebPartTransformerCollection.cs
- UidManager.cs
- AddInController.cs
- BoolExpr.cs
- UrlPath.cs
- AnnotationMap.cs
- Rect3DValueSerializer.cs
- BoundingRectTracker.cs
- CodeGroup.cs
- CodeValidator.cs
- FixedSOMPageConstructor.cs
- TextParagraphView.cs
- CompilerErrorCollection.cs
- DataBindEngine.cs
- MenuCommandService.cs
- DataRowExtensions.cs
- PropertyTabChangedEvent.cs
- XPathParser.cs
- RightsManagementResourceHelper.cs
- DifferencingCollection.cs
- SerialPort.cs
- UIntPtr.cs
- Binding.cs
- ServiceProviders.cs
- bidPrivateBase.cs
- ComponentResourceManager.cs
- SessionIDManager.cs
- DataGridViewCellMouseEventArgs.cs
- BufferedStream2.cs
- TerminatorSinks.cs
- DataControlPagerLinkButton.cs
- InputQueueChannelAcceptor.cs
- ListControlDesigner.cs
- OleDbParameter.cs
- TextEditorLists.cs
- CodeDirectoryCompiler.cs
- DynamicEntity.cs
- SortQuery.cs
- TypeTypeConverter.cs
- HGlobalSafeHandle.cs
- NopReturnReader.cs
- HasActivatableWorkflowEvent.cs
- PackageRelationshipCollection.cs
- JavaScriptSerializer.cs
- TypeDescriptorFilterService.cs
- ViewManager.cs
- SystemNetHelpers.cs
- ClientTarget.cs
- _emptywebproxy.cs
- TextElementEnumerator.cs
- BaseResourcesBuildProvider.cs
- SessionEndedEventArgs.cs
- InternalPermissions.cs
- RegexRunner.cs
- TextTreeObjectNode.cs
- FolderLevelBuildProvider.cs
- PropertyTab.cs
- DataRelation.cs
- QueryOutputWriterV1.cs
- StyleCollection.cs
- TextServicesHost.cs
- ControlCodeDomSerializer.cs
- ISFClipboardData.cs
- HashStream.cs
- PingOptions.cs
- MaterialCollection.cs
- FixUp.cs
- PathParser.cs
- XmlAttributes.cs
- selecteditemcollection.cs
- ByteViewer.cs
- RepeaterItemCollection.cs
- OleAutBinder.cs
- EntityParameter.cs
- ConfigurationSettings.cs
- Delegate.cs
- VisualBasicReference.cs
- Funcletizer.cs