Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / EmptyControlCollection.cs / 1 / EmptyControlCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Collections; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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(); } } }[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawingContextWalker.cs
- ProcessProtocolHandler.cs
- ZipArchive.cs
- WindowsBrush.cs
- XPathNavigatorKeyComparer.cs
- ParenExpr.cs
- WindowsListViewItem.cs
- MergeFilterQuery.cs
- XmlEntityReference.cs
- TimeoutConverter.cs
- DeviceContext2.cs
- StyleTypedPropertyAttribute.cs
- Vector3DAnimation.cs
- ListBox.cs
- OleDbReferenceCollection.cs
- Rect3D.cs
- SafeSystemMetrics.cs
- DropSource.cs
- PackagePart.cs
- HostingEnvironment.cs
- ObjectDataSourceSelectingEventArgs.cs
- SecurityTokenTypes.cs
- TrustSection.cs
- PropertyGrid.cs
- MatrixCamera.cs
- GridPatternIdentifiers.cs
- HwndTarget.cs
- GlobalizationAssembly.cs
- CaseStatement.cs
- ActivityScheduledQuery.cs
- EventMetadata.cs
- StylusPointProperties.cs
- XPathDocumentBuilder.cs
- SqlParameterCollection.cs
- WebBrowserUriTypeConverter.cs
- SystemWebSectionGroup.cs
- BindingOperations.cs
- WebPartTransformerAttribute.cs
- EntityDesignerDataSourceView.cs
- FixedSOMTextRun.cs
- TraceListeners.cs
- XDRSchema.cs
- SpellCheck.cs
- ScriptingWebServicesSectionGroup.cs
- AutomationElement.cs
- MappingException.cs
- WindowsImpersonationContext.cs
- XmlToDatasetMap.cs
- KeyFrames.cs
- DataServiceRequestException.cs
- ISAPIWorkerRequest.cs
- PerspectiveCamera.cs
- OracleDateTime.cs
- MarkupWriter.cs
- ContentValidator.cs
- RawKeyboardInputReport.cs
- StreamUpdate.cs
- FileNotFoundException.cs
- BamlRecordHelper.cs
- UnmanagedMarshal.cs
- FolderBrowserDialog.cs
- OdbcParameterCollection.cs
- ViewSimplifier.cs
- RightsManagementEncryptedStream.cs
- ModelPropertyDescriptor.cs
- MimeTextImporter.cs
- ResourceExpressionBuilder.cs
- LifetimeServices.cs
- DataGridBoolColumn.cs
- CacheHelper.cs
- GeometryCollection.cs
- SrgsDocumentParser.cs
- StylusCaptureWithinProperty.cs
- DebugHandleTracker.cs
- FrameworkTemplate.cs
- CodeSubDirectory.cs
- CharStorage.cs
- ObjectParameter.cs
- NamespaceListProperty.cs
- OleDbCommand.cs
- XamlStyleSerializer.cs
- SynchronizedInputPattern.cs
- FileReservationCollection.cs
- RangeValidator.cs
- ColorDialog.cs
- DateRangeEvent.cs
- InvalidProgramException.cs
- BitmapImage.cs
- MobileUserControlDesigner.cs
- BaseProcessor.cs
- SqlDataSourceStatusEventArgs.cs
- PropertyPath.cs
- IntSecurity.cs
- RelationshipNavigation.cs
- COM2ExtendedUITypeEditor.cs
- XPathPatternParser.cs
- DbDataReader.cs
- CodeCatchClauseCollection.cs
- XmlILModule.cs
- DateTimeOffsetStorage.cs