Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / InternalControlCollection.cs / 1305376 / InternalControlCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { ////// internal class InternalControlCollection : ControlCollection { internal InternalControlCollection(Control owner) : base(owner) { } private void ThrowNotSupportedException() { throw new HttpException(SR.GetString(SR.Control_does_not_allow_children, Owner.GetType().ToString())); } public override void Add(Control child) { ThrowNotSupportedException(); } public override void AddAt(int index, Control child) { ThrowNotSupportedException(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Represents a ControlCollection that controls can only be added to internally. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UnicastIPAddressInformationCollection.cs
- HttpContext.cs
- Grant.cs
- TrackingStringDictionary.cs
- RTLAwareMessageBox.cs
- RadialGradientBrush.cs
- SharingService.cs
- FormViewModeEventArgs.cs
- RuntimeHandles.cs
- NativeMethodsCLR.cs
- Expressions.cs
- HealthMonitoringSectionHelper.cs
- XamlToRtfWriter.cs
- KeyInfo.cs
- DurableEnlistmentState.cs
- RemotingConfiguration.cs
- XmlNodeList.cs
- ExtendedTransformFactory.cs
- ColorTransformHelper.cs
- wmiutil.cs
- ClientSettingsStore.cs
- RuntimeHandles.cs
- GeometryValueSerializer.cs
- Funcletizer.cs
- PropertyTabAttribute.cs
- StringValidatorAttribute.cs
- CacheForPrimitiveTypes.cs
- TreeNodeMouseHoverEvent.cs
- DBConnection.cs
- StreamGeometry.cs
- WindowsListViewScroll.cs
- KeyInfo.cs
- SQLString.cs
- EntityDesignerUtils.cs
- SmiTypedGetterSetter.cs
- SQLRoleProvider.cs
- WeakReferenceEnumerator.cs
- PartialArray.cs
- Separator.cs
- DbQueryCommandTree.cs
- Message.cs
- ScriptResourceInfo.cs
- SendKeys.cs
- SymLanguageVendor.cs
- NameValuePair.cs
- messageonlyhwndwrapper.cs
- ConfigXmlSignificantWhitespace.cs
- loginstatus.cs
- HtmlInputReset.cs
- SqlCaseSimplifier.cs
- SQLInt16Storage.cs
- EntityDataSourceContextDisposingEventArgs.cs
- CodeEntryPointMethod.cs
- ViewGenerator.cs
- KeyEvent.cs
- UnitySerializationHolder.cs
- SoapElementAttribute.cs
- TextTreeRootNode.cs
- SelectorAutomationPeer.cs
- NativeRightsManagementAPIsStructures.cs
- NTAccount.cs
- RadioButtonFlatAdapter.cs
- ExclusiveCanonicalizationTransform.cs
- PrePostDescendentsWalker.cs
- InstanceDataCollection.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ExecutionScope.cs
- UpdatePanelControlTrigger.cs
- COM2TypeInfoProcessor.cs
- TreePrinter.cs
- RowsCopiedEventArgs.cs
- ReadOnlyPropertyMetadata.cs
- ErrorHandler.cs
- DelegateSerializationHolder.cs
- StringAnimationBase.cs
- CommandBinding.cs
- EndpointDiscoveryMetadata.cs
- LockedBorderGlyph.cs
- ScriptingSectionGroup.cs
- ParallelTimeline.cs
- TimeoutValidationAttribute.cs
- EntityDataSourceContextCreatingEventArgs.cs
- ExitEventArgs.cs
- DSASignatureDeformatter.cs
- ByteStreamMessage.cs
- LocatorPartList.cs
- SerialStream.cs
- WinFormsSpinner.cs
- ProgressBarRenderer.cs
- PrintDialogException.cs
- ResourceWriter.cs
- SqlUtils.cs
- SqlConnectionPoolProviderInfo.cs
- HttpResponse.cs
- ControlDesigner.cs
- AliasedSlot.cs
- JsonReader.cs
- XsltSettings.cs
- DriveInfo.cs
- ToolStripRenderer.cs