Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ ///// 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- SqlNodeAnnotations.cs
- ProfilePropertyNameValidator.cs
- LeaseManager.cs
- IdnElement.cs
- Console.cs
- ActivationServices.cs
- HtmlEncodedRawTextWriter.cs
- SqlUtil.cs
- SecurityTokenAuthenticator.cs
- PerformanceCounterManager.cs
- ComponentCommands.cs
- RecommendedAsConfigurableAttribute.cs
- JulianCalendar.cs
- TriggerAction.cs
- BamlRecordHelper.cs
- AccessedThroughPropertyAttribute.cs
- ExtenderControl.cs
- StrokeNodeEnumerator.cs
- HotSpotCollection.cs
- MediaPlayer.cs
- FixUp.cs
- Adorner.cs
- OdbcConnection.cs
- HealthMonitoringSectionHelper.cs
- ContextMenu.cs
- MouseCaptureWithinProperty.cs
- SqlTypeConverter.cs
- COM2ColorConverter.cs
- DocumentPageViewAutomationPeer.cs
- BitVec.cs
- Token.cs
- IndentedTextWriter.cs
- XmlSortKeyAccumulator.cs
- ReflectTypeDescriptionProvider.cs
- BinaryCommonClasses.cs
- SqlConnectionHelper.cs
- ConnectionManagementElement.cs
- BuildDependencySet.cs
- IdentifierService.cs
- LineSegment.cs
- StrokeCollectionDefaultValueFactory.cs
- ImageKeyConverter.cs
- DefaultObjectMappingItemCollection.cs
- SimpleType.cs
- ProviderException.cs
- FileDialogCustomPlace.cs
- BooleanSwitch.cs
- MonitoringDescriptionAttribute.cs
- EnumValAlphaComparer.cs
- TextBox.cs
- ParamArrayAttribute.cs
- SrgsGrammarCompiler.cs
- GACMembershipCondition.cs
- ConstructorNeedsTagAttribute.cs
- RpcCryptoRequest.cs
- ExpressionEditorAttribute.cs
- DelegatingConfigHost.cs
- BasicAsyncResult.cs
- UnsafeNativeMethods.cs
- DbTransaction.cs
- HwndAppCommandInputProvider.cs
- SoapProtocolReflector.cs
- Win32PrintDialog.cs
- OleDbStruct.cs
- WrapPanel.cs
- UInt32.cs
- ToolStripItemGlyph.cs
- BuildProvidersCompiler.cs
- StaticSiteMapProvider.cs
- WebUtil.cs
- PlanCompiler.cs
- FamilyMapCollection.cs
- DoubleKeyFrameCollection.cs
- AssociationSetEnd.cs
- StoreItemCollection.Loader.cs
- CollectionViewGroupInternal.cs
- UnsafeNativeMethods.cs
- EntityCommandDefinition.cs
- FormsAuthenticationTicket.cs
- ReferenceAssemblyAttribute.cs
- ParameterCollection.cs
- XmlSchemaInclude.cs
- DataSourceCache.cs
- SpellCheck.cs
- SemanticKeyElement.cs
- CollectionViewProxy.cs
- ImageSource.cs
- Codec.cs
- UInt32.cs
- FileInfo.cs
- EpmContentDeSerializer.cs
- DrawingCollection.cs
- BoundPropertyEntry.cs
- EpmSourceTree.cs
- Int32Converter.cs
- DataGridTemplateColumn.cs
- ResXDataNode.cs
- DispatchWrapper.cs
- XmlToDatasetMap.cs
- HtmlInputHidden.cs