Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PeekCompletedEventArgs.cs
- StateWorkerRequest.cs
- CachedResourceDictionaryExtension.cs
- WindowsImpersonationContext.cs
- XomlCompilerError.cs
- DataGridViewCellMouseEventArgs.cs
- OperationAbortedException.cs
- KnownAssembliesSet.cs
- SimpleHandlerFactory.cs
- TrackingStringDictionary.cs
- HtmlFormWrapper.cs
- AmbientValueAttribute.cs
- xdrvalidator.cs
- XamlNamespaceHelper.cs
- TypedDatasetGenerator.cs
- Parser.cs
- BindingCollectionElement.cs
- SecurityDescriptor.cs
- ObjectList.cs
- WebPartConnectVerb.cs
- CommonObjectSecurity.cs
- HotSpot.cs
- ResourceDescriptionAttribute.cs
- FloatUtil.cs
- LockCookie.cs
- ProviderUtil.cs
- PropertyGeneratedEventArgs.cs
- CompositionTarget.cs
- BitmapEffectGeneralTransform.cs
- ConstraintStruct.cs
- RepeaterItem.cs
- ModifiableIteratorCollection.cs
- PreloadHost.cs
- ObjectToIdCache.cs
- RIPEMD160.cs
- Stacktrace.cs
- DictionaryGlobals.cs
- LinkButton.cs
- ReflectEventDescriptor.cs
- ZeroOpNode.cs
- MessageEventSubscriptionService.cs
- TimeSpanConverter.cs
- GenericArgumentsUpdater.cs
- DbConnectionPoolGroupProviderInfo.cs
- PipeException.cs
- AspNetRouteServiceHttpHandler.cs
- ZipIOLocalFileHeader.cs
- AxisAngleRotation3D.cs
- DropTarget.cs
- XmlAnyElementAttributes.cs
- EntityTypeEmitter.cs
- TrustVersion.cs
- FrameworkTemplate.cs
- SeverityFilter.cs
- SubpageParaClient.cs
- OracleTimeSpan.cs
- EpmSyndicationContentDeSerializer.cs
- RenderData.cs
- ListItemParagraph.cs
- LineSegment.cs
- RelatedView.cs
- InvokeGenerator.cs
- FileSystemInfo.cs
- FlowchartDesigner.Helpers.cs
- XmlNamespaceMappingCollection.cs
- xamlnodes.cs
- RoleManagerEventArgs.cs
- ParseElement.cs
- BorderGapMaskConverter.cs
- CommonObjectSecurity.cs
- DataTableClearEvent.cs
- FrameworkElementFactoryMarkupObject.cs
- StylusPointPropertyUnit.cs
- OutputCacheSettings.cs
- CustomError.cs
- IgnoreFileBuildProvider.cs
- MemoryFailPoint.cs
- SettingsPropertyIsReadOnlyException.cs
- ManagedFilter.cs
- CfgRule.cs
- SQLString.cs
- StandardTransformFactory.cs
- ServiceHostingEnvironment.cs
- TextContainerChangedEventArgs.cs
- DocumentApplicationDocumentViewer.cs
- versioninfo.cs
- FtpWebResponse.cs
- InitializationEventAttribute.cs
- TriggerBase.cs
- dataSvcMapFileLoader.cs
- TypeSource.cs
- CompareInfo.cs
- EntityWithKeyStrategy.cs
- CompositeControlDesigner.cs
- Mutex.cs
- HwndHost.cs
- CalendarTable.cs
- UriTemplateCompoundPathSegment.cs
- ToggleProviderWrapper.cs
- CustomSignedXml.cs