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
- SafeLibraryHandle.cs
- ServiceContractListItemList.cs
- AxHostDesigner.cs
- X509Chain.cs
- Region.cs
- ipaddressinformationcollection.cs
- SqlDataReaderSmi.cs
- HtmlControlAdapter.cs
- SiteMapNodeItemEventArgs.cs
- _ShellExpression.cs
- CodeDefaultValueExpression.cs
- Control.cs
- TagElement.cs
- ZoomingMessageFilter.cs
- Types.cs
- EndSelectCardRequest.cs
- XmlDataSourceNodeDescriptor.cs
- CodeTypeConstructor.cs
- FontInfo.cs
- ContentPresenter.cs
- HttpResponse.cs
- EventKeyword.cs
- MsmqQueue.cs
- MarshalByRefObject.cs
- _ProxyChain.cs
- FixedPageStructure.cs
- FixedSchema.cs
- EventDescriptorCollection.cs
- HighlightVisual.cs
- ToolStripContentPanel.cs
- HandleCollector.cs
- ObjectDataProvider.cs
- XmlUrlResolver.cs
- RegisteredHiddenField.cs
- ObjectStateEntryDbDataRecord.cs
- SamlAuthenticationClaimResource.cs
- Matrix.cs
- TagElement.cs
- InfocardExtendedInformationCollection.cs
- ScriptReferenceBase.cs
- MetadataPropertyCollection.cs
- TextViewSelectionProcessor.cs
- CmsInterop.cs
- AuthenticatingEventArgs.cs
- RC2CryptoServiceProvider.cs
- WrappedKeySecurityTokenParameters.cs
- DefaultEventAttribute.cs
- WebSysDisplayNameAttribute.cs
- ZoneButton.cs
- Polyline.cs
- SqlInfoMessageEvent.cs
- HttpListenerPrefixCollection.cs
- log.cs
- prefixendpointaddressmessagefilter.cs
- XsdDateTime.cs
- XamlInt32CollectionSerializer.cs
- WebBrowser.cs
- Vector3DCollection.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- DelayLoadType.cs
- OrderedEnumerableRowCollection.cs
- WebPartHelpVerb.cs
- NonBatchDirectoryCompiler.cs
- ToolboxItemAttribute.cs
- RegexCompilationInfo.cs
- MruCache.cs
- ContentOperations.cs
- BitmapSizeOptions.cs
- DataGridViewCellPaintingEventArgs.cs
- ExecutionContext.cs
- ObjectSet.cs
- Dynamic.cs
- PermissionRequestEvidence.cs
- GlyphsSerializer.cs
- XmlValueConverter.cs
- TreeNodeBindingDepthConverter.cs
- HttpProxyCredentialType.cs
- CryptoKeySecurity.cs
- InnerItemCollectionView.cs
- EncoderExceptionFallback.cs
- RadioButtonStandardAdapter.cs
- HttpCookie.cs
- Literal.cs
- LoginView.cs
- InplaceBitmapMetadataWriter.cs
- ValueUtilsSmi.cs
- XmlUtf8RawTextWriter.cs
- Attachment.cs
- AsnEncodedData.cs
- AuthenticationServiceManager.cs
- DSASignatureDeformatter.cs
- SaveFileDialog.cs
- CollectionsUtil.cs
- StartUpEventArgs.cs
- DataSourceConverter.cs
- IInstanceTable.cs
- PointCollection.cs
- DefaultShape.cs
- MsmqSecureHashAlgorithm.cs
- ColorContextHelper.cs