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
- NeutralResourcesLanguageAttribute.cs
- IssuedSecurityTokenParameters.cs
- HelpFileFileNameEditor.cs
- PeerNameRecordCollection.cs
- ExtendedProperty.cs
- CompositeScriptReference.cs
- ResolveNameEventArgs.cs
- HtmlInputPassword.cs
- DataSourceXmlClassAttribute.cs
- CheckedListBox.cs
- CriticalFinalizerObject.cs
- latinshape.cs
- WeakReferenceKey.cs
- DependencyObject.cs
- ValidationErrorEventArgs.cs
- TextParaLineResult.cs
- DifferencingCollection.cs
- EncoderBestFitFallback.cs
- SqlDataAdapter.cs
- DataGridClipboardHelper.cs
- Stream.cs
- InputLanguageManager.cs
- DataTableNameHandler.cs
- CalloutQueueItem.cs
- ObfuscationAttribute.cs
- QuadraticBezierSegment.cs
- DiagnosticTraceSource.cs
- OracleBinary.cs
- XmlKeywords.cs
- FormViewDeletedEventArgs.cs
- InputScope.cs
- SafeBitVector32.cs
- ProcessManager.cs
- TemplateParser.cs
- WebPartDesigner.cs
- SafeRegistryHandle.cs
- NullRuntimeConfig.cs
- EventProviderWriter.cs
- LabelDesigner.cs
- ListControlConvertEventArgs.cs
- ClientBuildManagerCallback.cs
- ComContractElementCollection.cs
- FrameworkRichTextComposition.cs
- DataGridViewLinkColumn.cs
- SymmetricCryptoHandle.cs
- AlignmentXValidation.cs
- Repeater.cs
- ObjectRef.cs
- ExtensibleClassFactory.cs
- AdditionalEntityFunctions.cs
- SqlUserDefinedAggregateAttribute.cs
- PolyLineSegment.cs
- SQLInt32.cs
- RtfControlWordInfo.cs
- ServiceOperationListItemList.cs
- DocumentOrderComparer.cs
- StringHelper.cs
- DataColumnPropertyDescriptor.cs
- JoinSymbol.cs
- DecoratedNameAttribute.cs
- EntityDataSourceDesignerHelper.cs
- WebExceptionStatus.cs
- IDReferencePropertyAttribute.cs
- WebSysDefaultValueAttribute.cs
- ChunkedMemoryStream.cs
- DesignerProperties.cs
- ImportContext.cs
- TdsParameterSetter.cs
- ParameterInfo.cs
- ResourceContainerWrapper.cs
- KerberosTicketHashIdentifierClause.cs
- TableRow.cs
- CommandCollectionEditor.cs
- MeshGeometry3D.cs
- FileChangesMonitor.cs
- UrlUtility.cs
- XmlResolver.cs
- DefaultTextStore.cs
- WebPartCloseVerb.cs
- WorkflowOperationFault.cs
- XPathPatternBuilder.cs
- DatagridviewDisplayedBandsData.cs
- FileIOPermission.cs
- DateTimeSerializationSection.cs
- OperatingSystemVersionCheck.cs
- CreateUserErrorEventArgs.cs
- XmlDesignerDataSourceView.cs
- XmlWriter.cs
- ThreadAttributes.cs
- ResourceSetExpression.cs
- FilterFactory.cs
- PerformanceCounterNameAttribute.cs
- SoapAttributes.cs
- CatalogZoneAutoFormat.cs
- SchemaEntity.cs
- UdpChannelListener.cs
- ProxySimple.cs
- cryptoapiTransform.cs
- ElementsClipboardData.cs
- XmlSchemaParticle.cs