Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- ArrayElementGridEntry.cs
- Bold.cs
- BindingFormattingDialog.cs
- PolicyValidationException.cs
- ResourceDescriptionAttribute.cs
- NoResizeSelectionBorderGlyph.cs
- StringAnimationBase.cs
- DoubleConverter.cs
- ToolbarAUtomationPeer.cs
- XmlSchemaSequence.cs
- MemoryResponseElement.cs
- ObjectDataSourceEventArgs.cs
- ResourceType.cs
- NamespaceQuery.cs
- Switch.cs
- Context.cs
- NonParentingControl.cs
- Model3D.cs
- Attributes.cs
- InvalidAsynchronousStateException.cs
- ObjectQueryProvider.cs
- DataGridViewCell.cs
- Int16AnimationBase.cs
- safelinkcollection.cs
- CellNormalizer.cs
- RelationshipConstraintValidator.cs
- BamlResourceDeserializer.cs
- HttpErrorTraceRecord.cs
- SqlParameterizer.cs
- SubMenuStyleCollection.cs
- PointIndependentAnimationStorage.cs
- ListViewGroupItemCollection.cs
- HttpCachePolicyElement.cs
- VariantWrapper.cs
- KnowledgeBase.cs
- SystemIPGlobalStatistics.cs
- DirectionalLight.cs
- ClusterSafeNativeMethods.cs
- GridViewSelectEventArgs.cs
- Timeline.cs
- SuppressMessageAttribute.cs
- RequestResizeEvent.cs
- DictionarySectionHandler.cs
- UIElement3D.cs
- CorePropertiesFilter.cs
- XmlRootAttribute.cs
- DrawingGroupDrawingContext.cs
- SiteMapNode.cs
- RepeatBehaviorConverter.cs
- PowerModeChangedEventArgs.cs
- ShapingWorkspace.cs
- InputProcessorProfilesLoader.cs
- CallSiteOps.cs
- XmlSchemaAnyAttribute.cs
- HttpRawResponse.cs
- SlotInfo.cs
- ExpressionPrinter.cs
- DrawingContextDrawingContextWalker.cs
- VectorConverter.cs
- StorageScalarPropertyMapping.cs
- FileStream.cs
- ReflectionUtil.cs
- DataServices.cs
- DPTypeDescriptorContext.cs
- ColorConvertedBitmap.cs
- ComUdtElement.cs
- DataExchangeServiceBinder.cs
- DispatcherHooks.cs
- Transform3D.cs
- _SSPISessionCache.cs
- ObjectHelper.cs
- SmtpTransport.cs
- X509ChainPolicy.cs
- HtmlProps.cs
- RouteParametersHelper.cs
- LambdaCompiler.Logical.cs
- EventSource.cs
- CellNormalizer.cs
- SortableBindingList.cs
- FileLoadException.cs
- CurrencyWrapper.cs
- InkCanvasFeedbackAdorner.cs
- WebReferenceCollection.cs
- XmlSerializerSection.cs
- StylusButtonCollection.cs
- PropertyGridView.cs
- ValidatorCollection.cs
- TiffBitmapEncoder.cs
- DataGridViewCellCollection.cs
- Permission.cs
- Selection.cs
- QueryStringParameter.cs
- DataBoundControl.cs
- IMembershipProvider.cs
- DataGridViewDataConnection.cs
- UnsafeNetInfoNativeMethods.cs
- WmlLinkAdapter.cs
- MethodExpr.cs
- ManagementScope.cs
- ByteRangeDownloader.cs