Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BeginStoryboard.cs
- State.cs
- EmbeddedMailObject.cs
- EmbossBitmapEffect.cs
- UnsafeNativeMethods.cs
- RemotingAttributes.cs
- ToReply.cs
- ScrollChrome.cs
- FormViewPageEventArgs.cs
- ContentTextAutomationPeer.cs
- DataControlLinkButton.cs
- BasicBrowserDialog.designer.cs
- SmtpNetworkElement.cs
- TraceLevelStore.cs
- ReadOnlyDataSourceView.cs
- ObjRef.cs
- PageSetupDialog.cs
- ListBindingConverter.cs
- ThreadAttributes.cs
- documentation.cs
- AstTree.cs
- PolicyValidationException.cs
- WizardPanel.cs
- sqlser.cs
- ContentIterators.cs
- MethodExpr.cs
- SqlDelegatedTransaction.cs
- ClientOptions.cs
- UpDownBase.cs
- PagedDataSource.cs
- HttpResponseInternalWrapper.cs
- externdll.cs
- SafeNativeMethodsCLR.cs
- ValidationEventArgs.cs
- ApplicationInfo.cs
- StylusPointProperties.cs
- CodeDirectionExpression.cs
- ObjectFullSpanRewriter.cs
- FrameSecurityDescriptor.cs
- DesignSurfaceServiceContainer.cs
- AssemblyNameUtility.cs
- EventMap.cs
- MachineKeyConverter.cs
- WrapPanel.cs
- RelativeSource.cs
- FileDialogCustomPlacesCollection.cs
- RenderData.cs
- RectIndependentAnimationStorage.cs
- EntityContainerEmitter.cs
- InputProcessorProfilesLoader.cs
- QuadraticBezierSegment.cs
- BitConverter.cs
- Line.cs
- EventLogger.cs
- PlatformNotSupportedException.cs
- MetadataItemEmitter.cs
- AutoGeneratedField.cs
- SchemaContext.cs
- RuntimeConfig.cs
- RequestCachePolicyConverter.cs
- IisTraceListener.cs
- CodeSubDirectoriesCollection.cs
- SerializationStore.cs
- SafeCryptContextHandle.cs
- Buffer.cs
- ParentUndoUnit.cs
- HeaderedContentControl.cs
- RequestContext.cs
- SaveFileDialog.cs
- DefaultSerializationProviderAttribute.cs
- HtmlButton.cs
- StringUtil.cs
- RowParagraph.cs
- MasterPageBuildProvider.cs
- UntypedNullExpression.cs
- Propagator.ExtentPlaceholderCreator.cs
- Activity.cs
- HttpChannelBindingToken.cs
- sqlinternaltransaction.cs
- UIPermission.cs
- BindingCollection.cs
- SecUtil.cs
- DataServiceHostWrapper.cs
- CompareValidator.cs
- ValidationSummary.cs
- SqlIdentifier.cs
- ServiceChannelProxy.cs
- ExpressionWriter.cs
- recordstatefactory.cs
- infer.cs
- EpmContentSerializerBase.cs
- MultiView.cs
- ScaleTransform.cs
- AtomicFile.cs
- BindingNavigator.cs
- EnlistmentState.cs
- CompilerError.cs
- PropertyFilter.cs
- FormsAuthentication.cs
- PageRanges.cs