Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TcpClientChannel.cs
- ControlPropertyNameConverter.cs
- FieldNameLookup.cs
- XmlSerializerNamespaces.cs
- NegationPusher.cs
- ConnectionInterfaceCollection.cs
- TableStyle.cs
- ResourcePool.cs
- FileIOPermission.cs
- MissingMethodException.cs
- CompiledQuery.cs
- WorkflowOperationAsyncResult.cs
- FormClosingEvent.cs
- ErrorInfoXmlDocument.cs
- Bitmap.cs
- WebPartConnectionCollection.cs
- TextTreeInsertElementUndoUnit.cs
- FontSizeConverter.cs
- XamlStyleSerializer.cs
- RTTrackingProfile.cs
- Win32MouseDevice.cs
- SmiContext.cs
- ProfileSettings.cs
- GridViewRowEventArgs.cs
- Privilege.cs
- ActionMessageFilter.cs
- Style.cs
- DataSourceDesigner.cs
- ProcessHostFactoryHelper.cs
- Win32SafeHandles.cs
- SortDescription.cs
- DecoratedNameAttribute.cs
- Tile.cs
- BamlMapTable.cs
- ClientApiGenerator.cs
- ItemsPanelTemplate.cs
- TextEditorLists.cs
- ToolstripProfessionalRenderer.cs
- PageCodeDomTreeGenerator.cs
- SoapObjectReader.cs
- StreamResourceInfo.cs
- TextServicesCompartment.cs
- StreamResourceInfo.cs
- Matrix.cs
- ViewManager.cs
- NeedSkipTokenVisitor.cs
- HttpListenerException.cs
- AbandonedMutexException.cs
- AddInSegmentDirectoryNotFoundException.cs
- ByeOperationCD1AsyncResult.cs
- CriticalExceptions.cs
- SoapSchemaExporter.cs
- ExpressionConverter.cs
- FillRuleValidation.cs
- RelatedImageListAttribute.cs
- BrushConverter.cs
- TimeSpanStorage.cs
- GridViewUpdateEventArgs.cs
- ControlAdapter.cs
- HtmlEncodedRawTextWriter.cs
- UTF8Encoding.cs
- TextTreeTextBlock.cs
- ProviderBase.cs
- LogWriteRestartAreaAsyncResult.cs
- ClientSideQueueItem.cs
- ArithmeticException.cs
- UiaCoreApi.cs
- Accessible.cs
- EncoderParameters.cs
- ToolboxItemCollection.cs
- HTMLTextWriter.cs
- Logging.cs
- RuntimeHelpers.cs
- FrugalList.cs
- XamlTreeBuilder.cs
- HttpValueCollection.cs
- SignatureToken.cs
- DependencyProperty.cs
- MDIClient.cs
- SqlClientPermission.cs
- QueryContinueDragEvent.cs
- TileModeValidation.cs
- FontCacheUtil.cs
- GenericTextProperties.cs
- TypeNameConverter.cs
- DataGridViewLinkColumn.cs
- ToolboxComponentsCreatedEventArgs.cs
- OdbcEnvironment.cs
- CustomLineCap.cs
- StreamInfo.cs
- GroupLabel.cs
- RecognizerBase.cs
- ValidatingPropertiesEventArgs.cs
- DbParameterCollectionHelper.cs
- ServiceDocumentFormatter.cs
- ReadOnlyCollectionBase.cs
- ScriptReferenceBase.cs
- ComponentResourceKeyConverter.cs
- SmtpTransport.cs
- OutputScopeManager.cs