Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EdmScalarPropertyAttribute.cs
- WebHttpBinding.cs
- LinkDesigner.cs
- FileChangeNotifier.cs
- AnnotationHelper.cs
- DataGridCommandEventArgs.cs
- WebReferencesBuildProvider.cs
- ValidationError.cs
- DefaultExpression.cs
- ConsoleTraceListener.cs
- ToolBarOverflowPanel.cs
- URL.cs
- SmiRequestExecutor.cs
- BooleanSwitch.cs
- XmlSchemaSimpleContentRestriction.cs
- EpmCustomContentWriterNodeData.cs
- PropertyGridEditorPart.cs
- IntranetCredentialPolicy.cs
- CollectionConverter.cs
- DataSourceXmlAttributeAttribute.cs
- FlowPosition.cs
- safemediahandle.cs
- HtmlControlDesigner.cs
- UnsafeNativeMethods.cs
- AxisAngleRotation3D.cs
- LinkDescriptor.cs
- Scanner.cs
- activationcontext.cs
- HuffmanTree.cs
- SectionXmlInfo.cs
- DataColumnMappingCollection.cs
- PanelStyle.cs
- CodeTypeDelegate.cs
- SharedUtils.cs
- FormatSelectingMessageInspector.cs
- DataTableNewRowEvent.cs
- XmlSchemaChoice.cs
- Baml2006ReaderSettings.cs
- WindowsBrush.cs
- RelativeSource.cs
- TableProviderWrapper.cs
- X509Utils.cs
- FileDialogPermission.cs
- DataRow.cs
- CompositeCollectionView.cs
- DataServiceResponse.cs
- EncodingFallbackAwareXmlTextWriter.cs
- GenericTypeParameterConverter.cs
- TimeoutException.cs
- DataServiceEntityAttribute.cs
- Hyperlink.cs
- ReflectionHelper.cs
- HtmlControlDesigner.cs
- BindValidator.cs
- DataControlButton.cs
- ADMembershipUser.cs
- TabControlDesigner.cs
- ApplicationDirectory.cs
- VectorAnimationBase.cs
- PathParser.cs
- WmlLiteralTextAdapter.cs
- ExtentKey.cs
- AsyncOperation.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- Reference.cs
- OptionalColumn.cs
- MessageQueueInstaller.cs
- Point3DAnimation.cs
- WindowsEditBox.cs
- CompilerState.cs
- ConfigurationException.cs
- TriggerBase.cs
- FieldToken.cs
- TrackBar.cs
- IpcChannel.cs
- Type.cs
- TimeoutConverter.cs
- RecommendedAsConfigurableAttribute.cs
- SafeCoTaskMem.cs
- PlatformNotSupportedException.cs
- WebPartConnectionsCancelVerb.cs
- IdleTimeoutMonitor.cs
- PerfProviderCollection.cs
- TimeoutException.cs
- WSDualHttpBinding.cs
- MissingSatelliteAssemblyException.cs
- OdbcEnvironmentHandle.cs
- _NetRes.cs
- PageOutputQuality.cs
- WorkflowExecutor.cs
- ParseNumbers.cs
- VersionedStream.cs
- FileVersionInfo.cs
- SoapMessage.cs
- AppDomainAttributes.cs
- SqlTopReducer.cs
- Binding.cs
- DataControlFieldHeaderCell.cs
- AddressHeader.cs
- ReferencedCollectionType.cs