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
- QuotedPrintableStream.cs
- LongTypeConverter.cs
- LambdaCompiler.cs
- FormViewModeEventArgs.cs
- TransformerTypeCollection.cs
- BindingExpression.cs
- EntityUtil.cs
- BasicViewGenerator.cs
- BrushValueSerializer.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- PersonalizableTypeEntry.cs
- Decimal.cs
- ChannelDemuxer.cs
- ElementMarkupObject.cs
- JsonFormatReaderGenerator.cs
- AtomServiceDocumentSerializer.cs
- MetadataCache.cs
- RecognizedAudio.cs
- PropertyItemInternal.cs
- Transform3D.cs
- AutomationPatternInfo.cs
- SolidBrush.cs
- SystemInfo.cs
- EmulateRecognizeCompletedEventArgs.cs
- SettingsBindableAttribute.cs
- EditCommandColumn.cs
- MdImport.cs
- DrawItemEvent.cs
- DispatcherExceptionEventArgs.cs
- Query.cs
- CategoryEditor.cs
- StreamGeometryContext.cs
- ToolboxItem.cs
- SqlBuffer.cs
- DataBoundControlAdapter.cs
- XmlArrayAttribute.cs
- DataGridBoolColumn.cs
- MessageHeaderDescription.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- CaseInsensitiveHashCodeProvider.cs
- ServicesUtilities.cs
- EntityDescriptor.cs
- ZeroOpNode.cs
- PrintControllerWithStatusDialog.cs
- ForAllOperator.cs
- DllNotFoundException.cs
- AbstractDataSvcMapFileLoader.cs
- FixedLineResult.cs
- CanonicalFontFamilyReference.cs
- ByteStorage.cs
- SingleStorage.cs
- RowUpdatingEventArgs.cs
- RequestCacheValidator.cs
- NotImplementedException.cs
- HierarchicalDataSourceControl.cs
- WebServiceMethodData.cs
- SqlFlattener.cs
- ExtentKey.cs
- TerminatorSinks.cs
- SecurityKeyUsage.cs
- ReferencedAssembly.cs
- TimeIntervalCollection.cs
- ListDesigner.cs
- SqlDataSourceSelectingEventArgs.cs
- ProtocolProfile.cs
- DependencyObjectProvider.cs
- FieldToken.cs
- XmlValidatingReaderImpl.cs
- TemplateBuilder.cs
- SqlTriggerAttribute.cs
- DataGridLinkButton.cs
- DefaultMergeHelper.cs
- LinearQuaternionKeyFrame.cs
- TemplatePropertyEntry.cs
- GridViewDeletedEventArgs.cs
- TextBoxAutomationPeer.cs
- WebContext.cs
- StyleHelper.cs
- TextBoxView.cs
- _HTTPDateParse.cs
- HttpInputStream.cs
- FocusChangedEventArgs.cs
- AppDomainFactory.cs
- SessionStateContainer.cs
- OrthographicCamera.cs
- FormViewUpdateEventArgs.cs
- EncodingDataItem.cs
- mactripleDES.cs
- CheckoutException.cs
- SchemaCollectionCompiler.cs
- shaperfactoryquerycachekey.cs
- TextAutomationPeer.cs
- Vector3DAnimationBase.cs
- Propagator.JoinPropagator.cs
- RegexTree.cs
- HttpModuleAction.cs
- AnimationTimeline.cs
- GridViewCancelEditEventArgs.cs
- InstanceDataCollection.cs
- ApplicationFileParser.cs