Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. //------------------------------------------------------------------------------ //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.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
- HasCopySemanticsAttribute.cs
- XAMLParseException.cs
- GenericTypeParameterConverter.cs
- TypeExtensionConverter.cs
- FileChangesMonitor.cs
- WebServiceEnumData.cs
- AliasedSlot.cs
- BrowserDefinition.cs
- XsdValidatingReader.cs
- ArcSegment.cs
- FixUpCollection.cs
- HandlerMappingMemo.cs
- Sequence.cs
- SafeNativeMethods.cs
- SolidColorBrush.cs
- ImportRequest.cs
- MenuItem.cs
- StorageSetMapping.cs
- ConfigurationManager.cs
- OdbcUtils.cs
- TrackingMemoryStreamFactory.cs
- MultipartIdentifier.cs
- Method.cs
- FaultHandlingFilter.cs
- CharEnumerator.cs
- MenuTracker.cs
- IntPtr.cs
- TemplateLookupAction.cs
- Mappings.cs
- StandardToolWindows.cs
- ErrorBehavior.cs
- SelectionService.cs
- PassportIdentity.cs
- PropertyConverter.cs
- ContextMarshalException.cs
- Type.cs
- AutoGeneratedField.cs
- ExecutionContext.cs
- XmlSchemaDocumentation.cs
- SafeSecurityHandles.cs
- AdRotator.cs
- DoubleAnimationClockResource.cs
- PageThemeBuildProvider.cs
- BamlRecordWriter.cs
- CapabilitiesState.cs
- SqlCommandSet.cs
- InputScopeAttribute.cs
- SQLBytes.cs
- Soap12FormatExtensions.cs
- ValidatingCollection.cs
- ConnectionInterfaceCollection.cs
- OrderingInfo.cs
- MD5.cs
- QilCloneVisitor.cs
- OuterGlowBitmapEffect.cs
- TemplatePagerField.cs
- StringHelper.cs
- MasterPageCodeDomTreeGenerator.cs
- TextEditorLists.cs
- VBIdentifierNameEditor.cs
- FilterException.cs
- OutputCacheSection.cs
- TextEndOfParagraph.cs
- NonceCache.cs
- ObjectStateManagerMetadata.cs
- SchemaImporterExtensionsSection.cs
- SiteMapNodeItem.cs
- StateMachineSubscription.cs
- _WinHttpWebProxyDataBuilder.cs
- DesignerHelpers.cs
- HttpTransportManager.cs
- Nodes.cs
- ProxyElement.cs
- HandlerBase.cs
- SymbolEqualComparer.cs
- SafeHandles.cs
- LinqDataView.cs
- ReceiveCompletedEventArgs.cs
- DetailsViewDeleteEventArgs.cs
- TaskHelper.cs
- ResolvePPIDRequest.cs
- CheckBoxBaseAdapter.cs
- WebDescriptionAttribute.cs
- PathParser.cs
- ScrollChrome.cs
- StickyNote.cs
- WebPartCancelEventArgs.cs
- ListBoxItem.cs
- UnsignedPublishLicense.cs
- Thickness.cs
- OleServicesContext.cs
- FileRecordSequence.cs
- ServiceModelEnumValidator.cs
- ObjectItemCachedAssemblyLoader.cs
- WebBrowserNavigatingEventHandler.cs
- GridSplitterAutomationPeer.cs
- TrackPointCollection.cs
- GridViewDesigner.cs
- XmlSchemaAll.cs
- safelink.cs