Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / ConstructorNeedsTagAttribute.cs / 1 / ConstructorNeedsTagAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ConstructorNeedsTagAttribute: Attribute { bool needsTag = false; ///Allows a control to specify that it needs a /// tag name in its constructor. ////// public ConstructorNeedsTagAttribute() { } ///Initializes a new instance of the ///class. /// public ConstructorNeedsTagAttribute(bool needsTag) { this.needsTag = needsTag; } ///Initializes a new instance of the ///class. /// public bool NeedsTag { get { return needsTag; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Indicates whether a control needs a tag in its contstructor. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ConstructorNeedsTagAttribute: Attribute { bool needsTag = false; ///Allows a control to specify that it needs a /// tag name in its constructor. ////// public ConstructorNeedsTagAttribute() { } ///Initializes a new instance of the ///class. /// public ConstructorNeedsTagAttribute(bool needsTag) { this.needsTag = needsTag; } ///Initializes a new instance of the ///class. /// public bool NeedsTag { get { return needsTag; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Indicates whether a control needs a tag in its contstructor. This property is read-only. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SubclassTypeValidatorAttribute.cs
- SignedInfo.cs
- ToolboxCategoryItems.cs
- MethodBody.cs
- CommandBindingCollection.cs
- AnnotationStore.cs
- PathFigure.cs
- HttpVersion.cs
- __Error.cs
- ExclusiveHandle.cs
- MsmqHostedTransportConfiguration.cs
- LocatorManager.cs
- TraceLevelHelper.cs
- DiscardableAttribute.cs
- DetailsViewDeletedEventArgs.cs
- Durable.cs
- SqlGenericUtil.cs
- OdbcPermission.cs
- EntityDataSourceStatementEditorForm.cs
- TextBoxBase.cs
- wmiprovider.cs
- RepeaterItemEventArgs.cs
- PriorityQueue.cs
- EventMappingSettingsCollection.cs
- SpecularMaterial.cs
- ShowExpandedMultiValueConverter.cs
- WebOperationContext.cs
- GridPatternIdentifiers.cs
- NamespaceInfo.cs
- _TimerThread.cs
- FamilyTypeface.cs
- PropertyPathWorker.cs
- XMLUtil.cs
- SchemaCollectionPreprocessor.cs
- Helpers.cs
- TypeConverterAttribute.cs
- Variant.cs
- RequestCachePolicyConverter.cs
- SiteMapNodeCollection.cs
- ListViewHitTestInfo.cs
- ToolCreatedEventArgs.cs
- TdsParserSessionPool.cs
- VoiceInfo.cs
- IntSecurity.cs
- SpeechUI.cs
- TreeNode.cs
- ProfilePropertyNameValidator.cs
- MouseActionValueSerializer.cs
- HybridDictionary.cs
- WindowsPen.cs
- EllipseGeometry.cs
- ProfilePropertySettings.cs
- Preprocessor.cs
- Select.cs
- ErrorFormatter.cs
- NullableDecimalMinMaxAggregationOperator.cs
- IPAddress.cs
- CodeGenerator.cs
- PropagatorResult.cs
- LinkClickEvent.cs
- Permission.cs
- KeysConverter.cs
- ProtocolElementCollection.cs
- PageWrapper.cs
- ClusterRegistryConfigurationProvider.cs
- ErrorRuntimeConfig.cs
- IISUnsafeMethods.cs
- ObjectSecurityT.cs
- SelectingProviderEventArgs.cs
- IgnoreFlushAndCloseStream.cs
- PanelStyle.cs
- ConnectorSelectionGlyph.cs
- ListViewHitTestInfo.cs
- Console.cs
- StructuredProperty.cs
- WebServiceResponse.cs
- ControllableStoryboardAction.cs
- RepeatBehaviorConverter.cs
- ListMarkerLine.cs
- FixedTextPointer.cs
- ShaderEffect.cs
- BaseCollection.cs
- XmlRawWriterWrapper.cs
- DataTableExtensions.cs
- WebControlAdapter.cs
- MarkupCompilePass1.cs
- ItemList.cs
- figurelength.cs
- WaitForChangedResult.cs
- IgnoreSectionHandler.cs
- XPathAxisIterator.cs
- SplineQuaternionKeyFrame.cs
- ConfigXmlComment.cs
- _SSPIWrapper.cs
- ConnectionStringSettingsCollection.cs
- ParameterCollectionEditorForm.cs
- Constants.cs
- VisualProxy.cs
- IMembershipProvider.cs
- DataGridViewTextBoxEditingControl.cs