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
- EventWaitHandleSecurity.cs
- MimeImporter.cs
- FakeModelItemImpl.cs
- GregorianCalendar.cs
- COM2ExtendedTypeConverter.cs
- CorrelationQueryBehavior.cs
- DataGridViewCellStateChangedEventArgs.cs
- ListenerChannelContext.cs
- EastAsianLunisolarCalendar.cs
- MD5.cs
- MetadataItemSerializer.cs
- Base64Decoder.cs
- SimpleApplicationHost.cs
- ImageMetadata.cs
- DocumentApplicationDocumentViewer.cs
- AssemblyCollection.cs
- ListItemParagraph.cs
- SecurityChannel.cs
- SqlTypeConverter.cs
- TreeWalkHelper.cs
- DbModificationCommandTree.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- SamlSubject.cs
- ContextProperty.cs
- GlobalizationSection.cs
- Mappings.cs
- _KerberosClient.cs
- WebAdminConfigurationHelper.cs
- Matrix3D.cs
- CheckBox.cs
- parserscommon.cs
- LinkLabel.cs
- DataControlField.cs
- WindowsListViewItemStartMenu.cs
- ImportContext.cs
- ManagedWndProcTracker.cs
- ObjectDataSourceEventArgs.cs
- BorderGapMaskConverter.cs
- ViewStateModeByIdAttribute.cs
- Query.cs
- ObjectParameter.cs
- ReadOnlyDataSource.cs
- ElementsClipboardData.cs
- ResourcePermissionBaseEntry.cs
- entityreference_tresulttype.cs
- MemberInfoSerializationHolder.cs
- VirtualizingPanel.cs
- ContractCodeDomInfo.cs
- CodeDelegateCreateExpression.cs
- WebPartDesigner.cs
- RoleBoolean.cs
- ClientRuntimeConfig.cs
- RefExpr.cs
- LicenseContext.cs
- BeginEvent.cs
- ClientEndpointLoader.cs
- _BasicClient.cs
- WindowsFormsSectionHandler.cs
- XLinq.cs
- LoginUtil.cs
- XmlDesignerDataSourceView.cs
- FillRuleValidation.cs
- Int32KeyFrameCollection.cs
- SecurityDocument.cs
- MetaModel.cs
- NameGenerator.cs
- __TransparentProxy.cs
- BitmapMetadata.cs
- ResourceBinder.cs
- Button.cs
- ImpersonationContext.cs
- Stream.cs
- CryptoConfig.cs
- CacheMemory.cs
- HtmlInputImage.cs
- CardSpaceException.cs
- LocatorPartList.cs
- PartialList.cs
- UniqueEventHelper.cs
- EnumBuilder.cs
- ToolStripTextBox.cs
- SafeCoTaskMem.cs
- DataBoundControl.cs
- ResXFileRef.cs
- HashHelper.cs
- Size3D.cs
- DataGridCell.cs
- DataContractSerializer.cs
- TokenBasedSet.cs
- SettingsPropertyIsReadOnlyException.cs
- CharacterMetrics.cs
- MatrixCamera.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- OracleParameterCollection.cs
- Int16KeyFrameCollection.cs
- AdapterUtil.cs
- ToolboxComponentsCreatingEventArgs.cs
- PropertyPathWorker.cs
- CompModSwitches.cs
- CfgParser.cs