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
- GeneralTransform3D.cs
- WebPartsPersonalization.cs
- DesignerActionList.cs
- RichTextBoxAutomationPeer.cs
- UnescapedXmlDiagnosticData.cs
- JsonXmlDataContract.cs
- XmlAttributeCollection.cs
- Substitution.cs
- Rect.cs
- Authorization.cs
- CachedFontFamily.cs
- FixedPosition.cs
- Exceptions.cs
- Operators.cs
- TextElementAutomationPeer.cs
- MetabaseServerConfig.cs
- MeshGeometry3D.cs
- DebugTracing.cs
- DateTimeAutomationPeer.cs
- TableChangeProcessor.cs
- ThreadExceptionEvent.cs
- SqlXml.cs
- ValidationEventArgs.cs
- _ListenerRequestStream.cs
- XmlHierarchyData.cs
- PaintEvent.cs
- Size3DValueSerializer.cs
- TaskDesigner.cs
- mansign.cs
- ItemChangedEventArgs.cs
- OverflowException.cs
- FormatterConverter.cs
- RewritingPass.cs
- CellIdBoolean.cs
- WebReferencesBuildProvider.cs
- MulticastNotSupportedException.cs
- ZipIOFileItemStream.cs
- TextRangeAdaptor.cs
- SchemaSetCompiler.cs
- DiagnosticsConfigurationHandler.cs
- BoundPropertyEntry.cs
- HttpListenerRequest.cs
- Menu.cs
- CodeIdentifier.cs
- Bits.cs
- EnumBuilder.cs
- XmlnsDefinitionAttribute.cs
- ContextQuery.cs
- Int32CollectionConverter.cs
- DocComment.cs
- GenericsInstances.cs
- MethodRental.cs
- BitmapEffectInputConnector.cs
- XmlDataProvider.cs
- StringUtil.cs
- QueryableDataSourceEditData.cs
- ResumeStoryboard.cs
- Vector3DAnimation.cs
- WrapPanel.cs
- EntitySqlQueryState.cs
- SortDescription.cs
- GridPattern.cs
- tibetanshape.cs
- FontNamesConverter.cs
- BrushValueSerializer.cs
- Switch.cs
- EmptyReadOnlyDictionaryInternal.cs
- SmiMetaData.cs
- HScrollBar.cs
- HttpCacheVary.cs
- DataBindingExpressionBuilder.cs
- DataSourceView.cs
- ConsoleEntryPoint.cs
- CodeAssignStatement.cs
- CustomErrorsSectionWrapper.cs
- webclient.cs
- TokenBasedSet.cs
- ZoneLinkButton.cs
- _HeaderInfoTable.cs
- SerializationInfoEnumerator.cs
- FontFamilyValueSerializer.cs
- DoubleConverter.cs
- TreeNodeCollection.cs
- IssuedTokensHeader.cs
- CatchBlock.cs
- Thread.cs
- XmlSchemaObjectCollection.cs
- Expression.cs
- ChtmlTextWriter.cs
- SourceCollection.cs
- CapabilitiesState.cs
- XmlSchemaType.cs
- DomainUpDown.cs
- MouseWheelEventArgs.cs
- Events.cs
- CustomErrorsSectionWrapper.cs
- PolicyLevel.cs
- SourceSwitch.cs
- DataPointer.cs
- X500Name.cs