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
- CommentAction.cs
- ApplicationCommands.cs
- HandlerFactoryWrapper.cs
- ExpandSegment.cs
- ProviderConnectionPoint.cs
- ProfileEventArgs.cs
- CounterCreationData.cs
- SequenceDesignerAccessibleObject.cs
- ConfigXmlWhitespace.cs
- DataContract.cs
- HtmlTextViewAdapter.cs
- MsmqIntegrationMessageProperty.cs
- EndpointReference.cs
- ObjectDataSourceSelectingEventArgs.cs
- NumberFunctions.cs
- ExceptionUtil.cs
- SimpleHandlerFactory.cs
- NavigationCommands.cs
- XmlStreamNodeWriter.cs
- OracleColumn.cs
- FunctionParameter.cs
- SoapInteropTypes.cs
- GCHandleCookieTable.cs
- BinaryConverter.cs
- ThicknessAnimationUsingKeyFrames.cs
- XmlKeywords.cs
- HttpGetProtocolReflector.cs
- ScriptResourceInfo.cs
- Html32TextWriter.cs
- BrushProxy.cs
- DigestTraceRecordHelper.cs
- FilterQuery.cs
- DiscriminatorMap.cs
- XmlStreamNodeWriter.cs
- SmtpException.cs
- TextRenderer.cs
- WebSysDisplayNameAttribute.cs
- DoWorkEventArgs.cs
- EventLogConfiguration.cs
- Helpers.cs
- SqlProcedureAttribute.cs
- Tokenizer.cs
- HwndSource.cs
- PrimitiveDataContract.cs
- BitmapSizeOptions.cs
- CodeComment.cs
- cache.cs
- EntityViewContainer.cs
- TextView.cs
- PageTrueTypeFont.cs
- Thread.cs
- PropertyPathConverter.cs
- EmptyEnumerable.cs
- ProxyWebPartConnectionCollection.cs
- ConsumerConnectionPoint.cs
- CompositionAdorner.cs
- OrderedHashRepartitionStream.cs
- ObjectSpanRewriter.cs
- PageAsyncTaskManager.cs
- ZipIOLocalFileDataDescriptor.cs
- ScriptingWebServicesSectionGroup.cs
- ClientFormsAuthenticationMembershipProvider.cs
- BasePropertyDescriptor.cs
- InternalConfigSettingsFactory.cs
- listviewsubitemcollectioneditor.cs
- ControlPaint.cs
- WebPartRestoreVerb.cs
- ImmutableDispatchRuntime.cs
- XmlUTF8TextWriter.cs
- XmlDataContract.cs
- GeneralTransform.cs
- ValidationPropertyAttribute.cs
- PatternMatchRules.cs
- SubMenuStyleCollection.cs
- DefaultValueConverter.cs
- Identity.cs
- EditorZoneBase.cs
- SafeCoTaskMem.cs
- StateManagedCollection.cs
- LocalFileSettingsProvider.cs
- ToolTipService.cs
- ListItemDetailViewAttribute.cs
- QuaternionKeyFrameCollection.cs
- MetaModel.cs
- TreeBuilder.cs
- NavigationHelper.cs
- SqlClientWrapperSmiStream.cs
- PriorityRange.cs
- ArgumentException.cs
- HtmlTable.cs
- ProjectionCamera.cs
- StaticFileHandler.cs
- MemberInfoSerializationHolder.cs
- DataGridViewComboBoxColumn.cs
- LocalizabilityAttribute.cs
- WebDisplayNameAttribute.cs
- OdbcParameter.cs
- AsyncPostBackTrigger.cs
- SecurityUtils.cs
- KernelTypeValidation.cs