Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / InternalControlCollection.cs / 1 / 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(); } #if SHIPPINGADAPTERS internal void AddInternal(Control child) { base.Add(child); } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Represents a ControlCollection that controls can only be added to internally. /// ///// 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(); } #if SHIPPINGADAPTERS internal void AddInternal(Control child) { base.Add(child); } #endif } } // 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
- JpegBitmapEncoder.cs
- ClipboardProcessor.cs
- ConvertEvent.cs
- RewritingSimplifier.cs
- LinqDataSourceSelectEventArgs.cs
- ColorContext.cs
- TextView.cs
- PeerHelpers.cs
- RegistrationServices.cs
- FunctionImportElement.cs
- TextShapeableCharacters.cs
- CodeObject.cs
- FileInfo.cs
- FileDialogPermission.cs
- DiagnosticTraceRecords.cs
- FrameworkContentElement.cs
- KeyGesture.cs
- PropertyGrid.cs
- BinaryConverter.cs
- GeometryHitTestParameters.cs
- Command.cs
- TokenBasedSet.cs
- COM2PropertyBuilderUITypeEditor.cs
- Transform.cs
- HtmlTitle.cs
- CreateUserWizardStep.cs
- ReflectionPermission.cs
- _Semaphore.cs
- ExpandedWrapper.cs
- RootBrowserWindowAutomationPeer.cs
- WebMessageFormatHelper.cs
- MethodToken.cs
- TextViewDesigner.cs
- CultureSpecificStringDictionary.cs
- LicenseProviderAttribute.cs
- BindingOperations.cs
- SqlFileStream.cs
- uribuilder.cs
- ScrollViewer.cs
- MachineKeySection.cs
- DataView.cs
- DataSourceXmlSerializer.cs
- TemplateBindingExpression.cs
- ObjectQueryState.cs
- ValidationEventArgs.cs
- IpcChannel.cs
- ErrorProvider.cs
- UInt16Storage.cs
- ContentElement.cs
- ToolStripMenuItem.cs
- Shape.cs
- ManipulationLogic.cs
- BrowsableAttribute.cs
- BridgeDataReader.cs
- HttpValueCollection.cs
- GenericWebPart.cs
- CodeAttributeArgumentCollection.cs
- PackageFilter.cs
- Matrix3DStack.cs
- HttpDebugHandler.cs
- HitTestWithGeometryDrawingContextWalker.cs
- PrtCap_Builder.cs
- AudioException.cs
- CodeSubDirectoriesCollection.cs
- GroupPartitionExpr.cs
- dataSvcMapFileLoader.cs
- Subtree.cs
- XmlAttributes.cs
- FilteredReadOnlyMetadataCollection.cs
- UxThemeWrapper.cs
- QuotedPrintableStream.cs
- TextSelection.cs
- ToolStripOverflowButton.cs
- ContextMarshalException.cs
- NumberSubstitution.cs
- PropertyGridView.cs
- InvalidAsynchronousStateException.cs
- NativeCppClassAttribute.cs
- BaseTemplateParser.cs
- PointAnimationUsingPath.cs
- CompilationSection.cs
- CroppedBitmap.cs
- IsolationInterop.cs
- OpenFileDialog.cs
- Positioning.cs
- TransformDescriptor.cs
- PolyLineSegment.cs
- DataSet.cs
- HttpListenerException.cs
- BaseParaClient.cs
- ByteStream.cs
- RangeBaseAutomationPeer.cs
- PreviewPrintController.cs
- WindowsScroll.cs
- ConfigurationConverterBase.cs
- CodeTypeDeclarationCollection.cs
- Transform3D.cs
- RoutedUICommand.cs
- DataGridTextColumn.cs
- PingReply.cs