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
- QilChoice.cs
- PageAction.cs
- BindableAttribute.cs
- DesignerActionUI.cs
- SequenceFullException.cs
- RestrictedTransactionalPackage.cs
- ISAPIWorkerRequest.cs
- CustomMenuItemCollection.cs
- COM2ExtendedTypeConverter.cs
- AutomationElementCollection.cs
- SizeChangedInfo.cs
- HttpVersion.cs
- GraphicsPathIterator.cs
- Span.cs
- CellIdBoolean.cs
- NetTcpSection.cs
- AmbientLight.cs
- DocumentReference.cs
- GetPageNumberCompletedEventArgs.cs
- SuppressMessageAttribute.cs
- XmlUtf8RawTextWriter.cs
- KeyGestureValueSerializer.cs
- QuadraticBezierSegment.cs
- DataConnectionHelper.cs
- SelectedCellsCollection.cs
- MergablePropertyAttribute.cs
- TransactionContextManager.cs
- AsyncPostBackErrorEventArgs.cs
- TargetInvocationException.cs
- Attribute.cs
- XmlCountingReader.cs
- ChannelServices.cs
- ManagementBaseObject.cs
- RtfFormatStack.cs
- StorageEndPropertyMapping.cs
- EntityModelSchemaGenerator.cs
- AsyncContentLoadedEventArgs.cs
- PowerEase.cs
- HttpStreamMessageEncoderFactory.cs
- HtmlTableCell.cs
- SQLBoolean.cs
- RegexMatchCollection.cs
- XmlSchemaSimpleTypeRestriction.cs
- XmlSchemaAny.cs
- sqlnorm.cs
- SymDocumentType.cs
- OpenTypeMethods.cs
- SvcFileManager.cs
- OdbcHandle.cs
- ResourceManager.cs
- Context.cs
- IConvertible.cs
- ReaderWriterLockSlim.cs
- OutputCacheModule.cs
- InertiaExpansionBehavior.cs
- CollectionViewGroupInternal.cs
- AuthenticationSection.cs
- TargetFrameworkAttribute.cs
- LiteralDesigner.cs
- AutomationPatternInfo.cs
- DurationConverter.cs
- CodeAccessPermission.cs
- Drawing.cs
- PasswordBox.cs
- ExpandoObject.cs
- HtmlInputRadioButton.cs
- PointLight.cs
- EntitySqlQueryCacheEntry.cs
- TabPage.cs
- LayoutManager.cs
- ClientTargetCollection.cs
- WsdlBuildProvider.cs
- WmlImageAdapter.cs
- IndentedWriter.cs
- LockedAssemblyCache.cs
- SystemKeyConverter.cs
- RoleManagerModule.cs
- AssemblyBuilder.cs
- SecurityException.cs
- XsltSettings.cs
- PointCollection.cs
- HttpAsyncResult.cs
- WebBrowserContainer.cs
- RadioButtonAutomationPeer.cs
- AtomEntry.cs
- RangeBaseAutomationPeer.cs
- Events.cs
- Model3D.cs
- PageThemeBuildProvider.cs
- EventData.cs
- DescendantQuery.cs
- followingquery.cs
- DateTimeFormatInfoScanner.cs
- IResourceProvider.cs
- NotificationContext.cs
- SecurityElement.cs
- WizardStepBase.cs
- BaseDataListActionList.cs
- Transform3D.cs
- ListViewGroupConverter.cs