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
- Model3DGroup.cs
- WrappedKeySecurityTokenParameters.cs
- OleDbSchemaGuid.cs
- SoapInteropTypes.cs
- ObjectStateFormatter.cs
- LockCookie.cs
- Composition.cs
- Transform.cs
- KeyTimeConverter.cs
- DirectoryNotFoundException.cs
- VariableQuery.cs
- PassportPrincipal.cs
- BasicViewGenerator.cs
- ConnectionProviderAttribute.cs
- BatchWriter.cs
- Stackframe.cs
- Composition.cs
- TagPrefixCollection.cs
- HiddenField.cs
- ChangePassword.cs
- DefaultParameterValueAttribute.cs
- WinEventTracker.cs
- WindowShowOrOpenTracker.cs
- ToolStripDropDownClosedEventArgs.cs
- Vector3DConverter.cs
- InternalMappingException.cs
- SnapLine.cs
- SrgsElementList.cs
- Roles.cs
- CreateUserWizardStep.cs
- BuildProviderCollection.cs
- StructuralObject.cs
- XmlLoader.cs
- SiteMapNodeItemEventArgs.cs
- AnimationException.cs
- DetailsViewUpdatedEventArgs.cs
- XmlDownloadManager.cs
- FontFamilyConverter.cs
- PropertyGroupDescription.cs
- EnumConverter.cs
- PerformanceCountersElement.cs
- TextBoxLine.cs
- DeviceSpecific.cs
- Menu.cs
- OracleLob.cs
- RemotingConfiguration.cs
- MimeMultiPart.cs
- AppSettingsReader.cs
- InspectionWorker.cs
- Italic.cs
- HoistedLocals.cs
- EpmContentDeSerializer.cs
- UnsafeNativeMethods.cs
- PointLightBase.cs
- PersistStreamTypeWrapper.cs
- ColorAnimationBase.cs
- HttpHandlerAction.cs
- RecordsAffectedEventArgs.cs
- ScrollPatternIdentifiers.cs
- SafeNativeMethods.cs
- StructuralObject.cs
- ByteStreamGeometryContext.cs
- HttpInputStream.cs
- AnimationClockResource.cs
- LocationSectionRecord.cs
- DesigntimeLicenseContext.cs
- PackUriHelper.cs
- PhonemeEventArgs.cs
- metadatamappinghashervisitor.cs
- ComponentResourceKey.cs
- EntityCommandCompilationException.cs
- WebPartVerb.cs
- ExpressionParser.cs
- DynamicResourceExtensionConverter.cs
- TextDpi.cs
- InvalidFilterCriteriaException.cs
- SqlNotificationEventArgs.cs
- ContentElement.cs
- CompositeCollectionView.cs
- AccessorTable.cs
- FilterQuery.cs
- PeerOutputChannel.cs
- StartUpEventArgs.cs
- MD5.cs
- ColumnResizeAdorner.cs
- ObjectViewEntityCollectionData.cs
- EastAsianLunisolarCalendar.cs
- OdbcErrorCollection.cs
- ProfilePropertyMetadata.cs
- ColorDialog.cs
- ProviderConnectionPointCollection.cs
- DependencyPropertyChangedEventArgs.cs
- SmtpAuthenticationManager.cs
- LayoutEvent.cs
- XmlProcessingInstruction.cs
- RequestUriProcessor.cs
- LabelEditEvent.cs
- KeyNotFoundException.cs
- DataGridViewControlCollection.cs
- HtmlButton.cs