Code:
/ DotNET / DotNET / 8.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
- securitycriticaldataClass.cs
- CookieParameter.cs
- ResourceReferenceExpressionConverter.cs
- ConstructorBuilder.cs
- OlePropertyStructs.cs
- WindowsGraphics.cs
- HwndProxyElementProvider.cs
- BaseCodeDomTreeGenerator.cs
- WebPartConnectionsConnectVerb.cs
- TrimSurroundingWhitespaceAttribute.cs
- Window.cs
- Base64WriteStateInfo.cs
- EntitySetBase.cs
- UnsafeNativeMethods.cs
- EmptyReadOnlyDictionaryInternal.cs
- WmlFormAdapter.cs
- ToolTip.cs
- ContentPropertyAttribute.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- WorkflowApplicationTerminatedException.cs
- ConfigurationProperty.cs
- SendContent.cs
- EtwTrace.cs
- TemplateXamlParser.cs
- DynamicEndpointElement.cs
- IPHostEntry.cs
- HttpProfileGroupBase.cs
- Cell.cs
- ToolStrip.cs
- XmlToDatasetMap.cs
- Opcode.cs
- MediaElement.cs
- NativeMethods.cs
- ComponentResourceManager.cs
- Parsers.cs
- X500Name.cs
- DataGridViewBand.cs
- PropertyDescriptor.cs
- DSASignatureFormatter.cs
- ReferentialConstraint.cs
- DecoderFallbackWithFailureFlag.cs
- TrackingMemoryStreamFactory.cs
- httpserverutility.cs
- CustomPopupPlacement.cs
- JavaScriptString.cs
- DataSvcMapFile.cs
- ConsoleKeyInfo.cs
- FixedTextSelectionProcessor.cs
- UniqueConstraint.cs
- TypographyProperties.cs
- SafeHandles.cs
- ServiceReference.cs
- XmlValidatingReader.cs
- DataGridViewRowsRemovedEventArgs.cs
- Grid.cs
- User.cs
- UnmanagedMemoryStreamWrapper.cs
- BaseParaClient.cs
- ObjectMemberMapping.cs
- ComplexTypeEmitter.cs
- SQLGuidStorage.cs
- OleDbTransaction.cs
- MarginCollapsingState.cs
- ping.cs
- ObjectConverter.cs
- SqlFunctions.cs
- BuildResultCache.cs
- ParameterToken.cs
- FederatedMessageSecurityOverHttp.cs
- XmlSerializationWriter.cs
- JavaScriptSerializer.cs
- DoubleLink.cs
- DataViewSetting.cs
- DBConnection.cs
- BinaryMessageEncoder.cs
- AppDomainProtocolHandler.cs
- DataObject.cs
- CfgRule.cs
- FileUtil.cs
- ComponentResourceManager.cs
- NameObjectCollectionBase.cs
- ModuleElement.cs
- PipelineModuleStepContainer.cs
- NumberEdit.cs
- ActivationArguments.cs
- milrender.cs
- TreeViewItem.cs
- Win32MouseDevice.cs
- KeyFrames.cs
- PipeException.cs
- InternalDispatchObject.cs
- TextReader.cs
- SqlDataSourceView.cs
- XmlHierarchicalEnumerable.cs
- MobileCapabilities.cs
- WindowsGraphicsCacheManager.cs
- HyperlinkAutomationPeer.cs
- SignatureResourceHelper.cs
- MonthChangedEventArgs.cs
- XmlObjectSerializerWriteContextComplex.cs