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
- X509WindowsSecurityToken.cs
- AsyncResult.cs
- EntityCommandCompilationException.cs
- MethodExpr.cs
- DesignerVerb.cs
- DBConcurrencyException.cs
- BitFlagsGenerator.cs
- CompositeDuplexBindingElement.cs
- securitycriticaldataformultiplegetandset.cs
- XmlLoader.cs
- VectorConverter.cs
- MarkupCompiler.cs
- Profiler.cs
- ConstraintCollection.cs
- ProgressChangedEventArgs.cs
- FlowDocumentPage.cs
- ConstrainedGroup.cs
- NotSupportedException.cs
- TextDecorationUnitValidation.cs
- StreamingContext.cs
- StatusBarAutomationPeer.cs
- DataRelationCollection.cs
- SecurityPolicySection.cs
- NullableIntMinMaxAggregationOperator.cs
- HttpInputStream.cs
- StreamingContext.cs
- ThreadInterruptedException.cs
- PenContexts.cs
- ContentDisposition.cs
- MouseButtonEventArgs.cs
- XPathNode.cs
- BridgeDataRecord.cs
- VisualBrush.cs
- COMException.cs
- sqlser.cs
- BindingContext.cs
- AtomEntry.cs
- OrderByQueryOptionExpression.cs
- HostTimeoutsElement.cs
- CharacterString.cs
- SessionIDManager.cs
- OLEDB_Enum.cs
- AttachmentService.cs
- ArglessEventHandlerProxy.cs
- _ConnectStream.cs
- DictionaryGlobals.cs
- ObjectDataSourceDesigner.cs
- XmlSerializer.cs
- SimpleType.cs
- TimeEnumHelper.cs
- TdsParserHelperClasses.cs
- EmulateRecognizeCompletedEventArgs.cs
- ProxyWebPartManager.cs
- ObjectMemberMapping.cs
- ModuleBuilderData.cs
- GridViewColumnHeader.cs
- TagPrefixCollection.cs
- ItemsControlAutomationPeer.cs
- SqlGatherConsumedAliases.cs
- TableCell.cs
- Interlocked.cs
- KeyValuePair.cs
- CryptoApi.cs
- OrderByQueryOptionExpression.cs
- StrokeNodeEnumerator.cs
- SmiContext.cs
- CompiledIdentityConstraint.cs
- HtmlLink.cs
- InputScope.cs
- ProxyWebPartManager.cs
- JavaScriptSerializer.cs
- UnicodeEncoding.cs
- UrlAuthFailedErrorFormatter.cs
- ConvertersCollection.cs
- HashAlgorithm.cs
- MultipleViewPatternIdentifiers.cs
- ILGenerator.cs
- Track.cs
- AxHost.cs
- AsmxEndpointPickerExtension.cs
- ScriptManagerProxy.cs
- EventDescriptor.cs
- UTF8Encoding.cs
- ReadOnlyTernaryTree.cs
- SelectManyQueryOperator.cs
- BasePattern.cs
- InvokeMemberBinder.cs
- BufferedGenericXmlSecurityToken.cs
- HandlerFactoryWrapper.cs
- FocusWithinProperty.cs
- MemberBinding.cs
- XmlNamespaceDeclarationsAttribute.cs
- SynchronizedDispatch.cs
- WebPartEditorCancelVerb.cs
- VideoDrawing.cs
- safex509handles.cs
- HtmlGenericControl.cs
- DataContractSerializer.cs
- FontFamilyConverter.cs
- BypassElementCollection.cs