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
- _NestedSingleAsyncResult.cs
- Padding.cs
- StateRuntime.cs
- OrderPreservingPipeliningSpoolingTask.cs
- TypeResolvingOptions.cs
- PrintingPermission.cs
- Pipe.cs
- XamlDebuggerXmlReader.cs
- SendActivityDesigner.cs
- SQLChars.cs
- DataServiceResponse.cs
- PositiveTimeSpanValidator.cs
- MessagePartDescriptionCollection.cs
- BoolLiteral.cs
- MeasurementDCInfo.cs
- SingleConverter.cs
- _FtpDataStream.cs
- RowToFieldTransformer.cs
- ValidationErrorInfo.cs
- DataBinding.cs
- DataView.cs
- PatternMatchRules.cs
- ModelPropertyCollectionImpl.cs
- FileSystemWatcher.cs
- HttpProfileGroupBase.cs
- PowerEase.cs
- WindowsFormsSynchronizationContext.cs
- LoadGrammarCompletedEventArgs.cs
- ChtmlTextBoxAdapter.cs
- FigureParaClient.cs
- XPathNodeInfoAtom.cs
- SoapFaultCodes.cs
- ArrayMergeHelper.cs
- ByteConverter.cs
- SecurityPolicySection.cs
- MimeFormatExtensions.cs
- CompilationSection.cs
- SiteMembershipCondition.cs
- OrderByBuilder.cs
- Brush.cs
- DropDownList.cs
- ProcessModelInfo.cs
- ScriptControlDescriptor.cs
- BlurEffect.cs
- ViewStateException.cs
- BlockingCollection.cs
- ShortcutKeysEditor.cs
- SignatureDescription.cs
- CfgRule.cs
- VersionedStreamOwner.cs
- ClientSideProviderDescription.cs
- DesignerTextWriter.cs
- MemberRestriction.cs
- XmlSerializer.cs
- ArgumentDirectionHelper.cs
- SpeakProgressEventArgs.cs
- EntityCommand.cs
- Parameter.cs
- NamedObject.cs
- ComAdminWrapper.cs
- BindingMemberInfo.cs
- StorageAssociationSetMapping.cs
- DataServiceEntityAttribute.cs
- BehaviorEditorPart.cs
- AutoScrollExpandMessageFilter.cs
- ScopeElementCollection.cs
- XmlRawWriterWrapper.cs
- ComponentResourceManager.cs
- COM2ExtendedBrowsingHandler.cs
- DataGridViewRowPostPaintEventArgs.cs
- LinqDataSourceHelper.cs
- SoapEnumAttribute.cs
- GenericUriParser.cs
- HttpRawResponse.cs
- MethodSignatureGenerator.cs
- WorkerRequest.cs
- ProfilePropertyNameValidator.cs
- WpfKnownTypeInvoker.cs
- WorkingDirectoryEditor.cs
- ResetableIterator.cs
- GrammarBuilderPhrase.cs
- CookielessHelper.cs
- ComponentConverter.cs
- StrongNamePublicKeyBlob.cs
- Transform.cs
- SoapAttributeAttribute.cs
- BinaryExpressionHelper.cs
- FormViewUpdateEventArgs.cs
- PageStatePersister.cs
- CodeParameterDeclarationExpression.cs
- IOException.cs
- TypeToken.cs
- Expressions.cs
- Missing.cs
- FontFamilyConverter.cs
- GraphicsContainer.cs
- DependencyObject.cs
- XPathDocumentNavigator.cs
- XslAstAnalyzer.cs
- ButtonFlatAdapter.cs