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
- FocusManager.cs
- PixelShader.cs
- PreProcessor.cs
- TreeNodeEventArgs.cs
- GeometryGroup.cs
- DataSourceBooleanViewSchemaConverter.cs
- BaseDataList.cs
- LoginView.cs
- SqlRowUpdatedEvent.cs
- ObjectAssociationEndMapping.cs
- FormViewInsertedEventArgs.cs
- QueryExtender.cs
- LogStore.cs
- WebPartCollection.cs
- SamlAuthorizationDecisionClaimResource.cs
- DoubleAnimationBase.cs
- ListView.cs
- ObjectAnimationUsingKeyFrames.cs
- HttpHandlersSection.cs
- DispatcherProcessingDisabled.cs
- RoutedEventValueSerializer.cs
- FontSourceCollection.cs
- WorkflowValidationFailedException.cs
- EntitySqlQueryCacheEntry.cs
- ReadOnlyPropertyMetadata.cs
- InternalControlCollection.cs
- DebugTracing.cs
- BitmapEffect.cs
- TabControl.cs
- ToolboxDataAttribute.cs
- WorkflowServiceNamespace.cs
- DependencyPropertyChangedEventArgs.cs
- xmlformatgeneratorstatics.cs
- ScriptingRoleServiceSection.cs
- SqlDependency.cs
- WebPartChrome.cs
- PartBasedPackageProperties.cs
- DecoratedNameAttribute.cs
- ToolStripPanelRenderEventArgs.cs
- SafeNativeMethods.cs
- InArgument.cs
- PageAsyncTask.cs
- ItemMap.cs
- EntityContainerEmitter.cs
- ContentPresenter.cs
- WebHttpEndpointElement.cs
- HandleCollector.cs
- CustomCredentialPolicy.cs
- ImageButton.cs
- WebPartConnectionsCancelVerb.cs
- DataErrorValidationRule.cs
- RubberbandSelector.cs
- CapabilitiesState.cs
- ImageKeyConverter.cs
- StorageAssociationSetMapping.cs
- SecurityKeyUsage.cs
- HelpEvent.cs
- CompilerLocalReference.cs
- IconBitmapDecoder.cs
- ConstructorExpr.cs
- SafeSecurityHelper.cs
- ImmutableAssemblyCacheEntry.cs
- HtmlGenericControl.cs
- SchemaComplexType.cs
- SerialErrors.cs
- NumberFunctions.cs
- TextAutomationPeer.cs
- TransformProviderWrapper.cs
- ScriptingSectionGroup.cs
- FileReader.cs
- XPathAxisIterator.cs
- SessionState.cs
- ResXDataNode.cs
- SHA384.cs
- GroupQuery.cs
- CorrelationManager.cs
- AssociationSetEnd.cs
- Brush.cs
- RecordsAffectedEventArgs.cs
- ForeignKeyFactory.cs
- StringExpressionSet.cs
- StrongNameMembershipCondition.cs
- Vector3DValueSerializer.cs
- Model3DGroup.cs
- StylusShape.cs
- Visual3D.cs
- MetadataUtilsSmi.cs
- SortExpressionBuilder.cs
- MultiAsyncResult.cs
- DecimalStorage.cs
- ReadWriteSpinLock.cs
- AssemblyCollection.cs
- CodeSnippetCompileUnit.cs
- FunctionDetailsReader.cs
- TypeDescriptionProviderAttribute.cs
- SmtpDigestAuthenticationModule.cs
- ChangeDirector.cs
- XamlInt32CollectionSerializer.cs
- StreamReader.cs
- PolyBezierSegment.cs