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
- DelimitedListTraceListener.cs
- HttpPostedFile.cs
- DiscreteKeyFrames.cs
- RegistryConfigurationProvider.cs
- SoapEnumAttribute.cs
- SingleStorage.cs
- DocumentSchemaValidator.cs
- FragmentQueryKB.cs
- GeneralTransform3DGroup.cs
- PointAnimation.cs
- IResourceProvider.cs
- DropDownList.cs
- WorkflowTimerService.cs
- FilteredXmlReader.cs
- HashHelper.cs
- ManagedIStream.cs
- NamespaceInfo.cs
- DropTarget.cs
- HtmlContainerControl.cs
- ThreadWorkerController.cs
- Perspective.cs
- XmlSchemaType.cs
- Token.cs
- HttpResponseHeader.cs
- DuplicateContext.cs
- XPathDocument.cs
- RuleRef.cs
- DataGridColumnFloatingHeader.cs
- MonthCalendar.cs
- DataServiceExpressionVisitor.cs
- BroadcastEventHelper.cs
- ResourceAttributes.cs
- FloatSumAggregationOperator.cs
- ObjectConverter.cs
- LinkedResourceCollection.cs
- AttributeCollection.cs
- ScaleTransform3D.cs
- SafeMILHandleMemoryPressure.cs
- CompositeDataBoundControl.cs
- RecipientInfo.cs
- XmlAttribute.cs
- HwndKeyboardInputProvider.cs
- ExecutionEngineException.cs
- DrawingState.cs
- UserPreferenceChangingEventArgs.cs
- OperandQuery.cs
- HtmlInputCheckBox.cs
- XPathException.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- RelationshipType.cs
- ElementProxy.cs
- GifBitmapEncoder.cs
- Emitter.cs
- TabRenderer.cs
- MediaElement.cs
- __ComObject.cs
- IList.cs
- EventListenerClientSide.cs
- OperationSelectorBehavior.cs
- FileSystemEventArgs.cs
- SQLConvert.cs
- DefaultWorkflowTransactionService.cs
- VectorCollectionConverter.cs
- MessagePartProtectionMode.cs
- XamlSerializerUtil.cs
- DbDataReader.cs
- precedingsibling.cs
- TrackingProfileCache.cs
- SqlReferenceCollection.cs
- MasterPage.cs
- Clipboard.cs
- OdbcConnectionHandle.cs
- BitSet.cs
- Control.cs
- PlatformCulture.cs
- XmlSerializerFactory.cs
- Expression.cs
- CompoundFileDeflateTransform.cs
- MethodRental.cs
- ServiceKnownTypeAttribute.cs
- SoapConverter.cs
- UserPreferenceChangedEventArgs.cs
- ProfileSettings.cs
- translator.cs
- Vector3DValueSerializer.cs
- XPathException.cs
- ServicesUtilities.cs
- BitmapFrameEncode.cs
- ClientTargetCollection.cs
- DelayLoadType.cs
- ping.cs
- DatagridviewDisplayedBandsData.cs
- DetailsViewRow.cs
- SweepDirectionValidation.cs
- SevenBitStream.cs
- EventDescriptor.cs
- GridViewDeleteEventArgs.cs
- ClaimTypeRequirement.cs
- SqlCacheDependencySection.cs
- FontStretches.cs