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
- _NestedSingleAsyncResult.cs
- X509AsymmetricSecurityKey.cs
- BindingsCollection.cs
- Helpers.cs
- XomlDesignerLoader.cs
- DiscoveryDocumentReference.cs
- ErrorRuntimeConfig.cs
- TrustManager.cs
- SingleConverter.cs
- RegisterInfo.cs
- FixUp.cs
- DragDropHelper.cs
- XmlIgnoreAttribute.cs
- XmlDataSource.cs
- TemplatePagerField.cs
- TextRangeEditLists.cs
- EntityTypeBase.cs
- Transform3DCollection.cs
- ItemMap.cs
- HwndKeyboardInputProvider.cs
- RSAPKCS1SignatureFormatter.cs
- Pens.cs
- SeekableReadStream.cs
- UInt32Converter.cs
- ConfigXmlCDataSection.cs
- ArrowControl.xaml.cs
- DLinqDataModelProvider.cs
- DefaultPrintController.cs
- XmlSerializationGeneratedCode.cs
- ResourcePermissionBaseEntry.cs
- WebPartCancelEventArgs.cs
- SvcMapFileLoader.cs
- HttpSessionStateWrapper.cs
- TableLayoutPanel.cs
- CodeArrayCreateExpression.cs
- ClientScriptManagerWrapper.cs
- RelatedImageListAttribute.cs
- SerializationSectionGroup.cs
- AppDomain.cs
- ZipIOLocalFileHeader.cs
- Normalization.cs
- ILGenerator.cs
- ProcessHostMapPath.cs
- Missing.cs
- RequestResizeEvent.cs
- ManifestSignedXml.cs
- Point4DValueSerializer.cs
- MaskedTextProvider.cs
- documentsequencetextpointer.cs
- LiteralSubsegment.cs
- CanonicalXml.cs
- COM2PictureConverter.cs
- ComplexPropertyEntry.cs
- DynamicValidatorEventArgs.cs
- CodeTypeParameterCollection.cs
- ResourceReferenceExpression.cs
- WpfXamlLoader.cs
- NumericExpr.cs
- ServicesUtilities.cs
- CreateUserWizard.cs
- BindingContext.cs
- Int32Rect.cs
- ConnectionStringSettings.cs
- IdentifierCollection.cs
- StorageComplexTypeMapping.cs
- SqlDependencyListener.cs
- NotifyParentPropertyAttribute.cs
- ParallelEnumerable.cs
- WorkflowPrinting.cs
- SQLRoleProvider.cs
- WsiProfilesElementCollection.cs
- FlowLayoutPanelDesigner.cs
- SchemaObjectWriter.cs
- BamlLocalizationDictionary.cs
- OracleConnectionFactory.cs
- PackagingUtilities.cs
- DropShadowEffect.cs
- OpCodes.cs
- TypeValidationEventArgs.cs
- BreadCrumbTextConverter.cs
- OutKeywords.cs
- DataTemplateKey.cs
- AttributeProviderAttribute.cs
- DBDataPermission.cs
- SequentialUshortCollection.cs
- DynamicDataResources.Designer.cs
- Function.cs
- TagElement.cs
- PeerResolverMode.cs
- XmlHierarchicalDataSourceView.cs
- DataExpression.cs
- LinkGrep.cs
- AttachmentCollection.cs
- InvalidateEvent.cs
- HtmlShim.cs
- AdornerLayer.cs
- cache.cs
- DebugView.cs
- JpegBitmapEncoder.cs
- Funcletizer.cs