Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / ConstructorNeedsTagAttribute.cs / 1305376 / 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)] 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)] 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
- StandardBindingElement.cs
- CriticalHandle.cs
- SiteMapPath.cs
- TextTreeTextBlock.cs
- DbConnectionPoolCounters.cs
- SqlWebEventProvider.cs
- XmlQueryCardinality.cs
- MailAddressCollection.cs
- PngBitmapDecoder.cs
- AssemblyCollection.cs
- NullableFloatSumAggregationOperator.cs
- SafeNativeMethodsCLR.cs
- WithParamAction.cs
- NativeBuffer.cs
- StrokeNodeOperations.cs
- RequestCacheManager.cs
- CompositeControl.cs
- InstanceLockQueryResult.cs
- SurrogateChar.cs
- DataGridItemEventArgs.cs
- SchemaNamespaceManager.cs
- AutomationElementCollection.cs
- FileInfo.cs
- ConfigurationElementCollection.cs
- ColorIndependentAnimationStorage.cs
- DataKey.cs
- DataKey.cs
- DocumentScope.cs
- EtwTrace.cs
- PrintControllerWithStatusDialog.cs
- ExtenderProviderService.cs
- PnrpPermission.cs
- SpellerHighlightLayer.cs
- StateDesigner.cs
- Font.cs
- QueryHandler.cs
- CryptoApi.cs
- OpenFileDialog.cs
- SchemaImporterExtensionElementCollection.cs
- arc.cs
- NavigationPropertyEmitter.cs
- SizeChangedEventArgs.cs
- CryptoApi.cs
- AutomationPeer.cs
- DataGridLinkButton.cs
- SingleTagSectionHandler.cs
- AutomationPeer.cs
- HttpRequestCacheValidator.cs
- HandlerElementCollection.cs
- QueryCursorEventArgs.cs
- HttpMethodAttribute.cs
- DataTemplateKey.cs
- Predicate.cs
- ColumnCollection.cs
- ChannelServices.cs
- ReflectionUtil.cs
- KnownBoxes.cs
- SoapCodeExporter.cs
- HeaderUtility.cs
- AspNetSynchronizationContext.cs
- DataGridPageChangedEventArgs.cs
- WebPartCollection.cs
- DataGridViewCellFormattingEventArgs.cs
- ToolStrip.cs
- CorrelationTokenInvalidatedHandler.cs
- DateTimeEditor.cs
- MethodBuilderInstantiation.cs
- Propagator.Evaluator.cs
- SafeEventHandle.cs
- AppDomainCompilerProxy.cs
- XAMLParseException.cs
- MediaEntryAttribute.cs
- ColorTransformHelper.cs
- EntitySqlQueryState.cs
- DrawingDrawingContext.cs
- SynchronizationLockException.cs
- odbcmetadatafactory.cs
- WebRequestModulesSection.cs
- SqlClientMetaDataCollectionNames.cs
- EntityViewGenerationAttribute.cs
- EditingMode.cs
- WebExceptionStatus.cs
- AttachmentService.cs
- CustomErrorsSectionWrapper.cs
- TextBoxBase.cs
- SequentialWorkflowRootDesigner.cs
- DataGridViewColumnCollectionEditor.cs
- Ipv6Element.cs
- NavigationCommands.cs
- ItemChangedEventArgs.cs
- Helpers.cs
- SortDescription.cs
- ProfileParameter.cs
- RequestTimeoutManager.cs
- TTSEvent.cs
- _LocalDataStore.cs
- ViewBox.cs
- EncoderReplacementFallback.cs
- TabOrder.cs
- Deflater.cs