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
- ArrayList.cs
- TransactionManager.cs
- MemberInitExpression.cs
- Quaternion.cs
- XmlDocumentSchema.cs
- CultureSpecificStringDictionary.cs
- IsolatedStorageFileStream.cs
- XmlDocumentFragment.cs
- TransportContext.cs
- PrintPreviewGraphics.cs
- TypeToken.cs
- InvalidOleVariantTypeException.cs
- InputReport.cs
- ButtonChrome.cs
- CryptoProvider.cs
- FontFamilyValueSerializer.cs
- EdmConstants.cs
- _SecureChannel.cs
- NumericUpDownAccelerationCollection.cs
- XmlConvert.cs
- WebMessageBodyStyleHelper.cs
- InstalledVoice.cs
- DrawingBrush.cs
- WsiProfilesElementCollection.cs
- Int32Rect.cs
- PropertyBuilder.cs
- SqlGatherProducedAliases.cs
- Label.cs
- IBuiltInEvidence.cs
- CalendarButtonAutomationPeer.cs
- ValuePattern.cs
- ResourceWriter.cs
- XmlCodeExporter.cs
- AttributedMetaModel.cs
- TrackingMemoryStream.cs
- XPathNode.cs
- Semaphore.cs
- TypeToTreeConverter.cs
- ConfigurationManagerInternalFactory.cs
- FileStream.cs
- ObjectHandle.cs
- DataBindingExpressionBuilder.cs
- XmlSerializer.cs
- GridProviderWrapper.cs
- Fonts.cs
- SpecularMaterial.cs
- KerberosTicketHashIdentifierClause.cs
- NameValueFileSectionHandler.cs
- WebServiceAttribute.cs
- ListMarkerSourceInfo.cs
- EditCommandColumn.cs
- FileDialogPermission.cs
- Variable.cs
- UICuesEvent.cs
- Stacktrace.cs
- DrawItemEvent.cs
- CodeCommentStatementCollection.cs
- ImageEditor.cs
- JavaScriptString.cs
- ApplicationSecurityInfo.cs
- Icon.cs
- FileDialogCustomPlacesCollection.cs
- ParsedAttributeCollection.cs
- SessionEndingCancelEventArgs.cs
- TcpChannelListener.cs
- InheritablePropertyChangeInfo.cs
- Margins.cs
- SqlNamer.cs
- ToolStripItemGlyph.cs
- CorrelationKey.cs
- BinaryUtilClasses.cs
- GeneralTransform3DCollection.cs
- NonParentingControl.cs
- _HeaderInfoTable.cs
- TypeDescriptionProvider.cs
- WorkflowItemsPresenter.cs
- ButtonAutomationPeer.cs
- CalendarKeyboardHelper.cs
- SecurityElement.cs
- GeometryCollection.cs
- Hashtable.cs
- ReversePositionQuery.cs
- ImpersonateTokenRef.cs
- ObjectQueryExecutionPlan.cs
- SharingService.cs
- TabPanel.cs
- IpcClientManager.cs
- WebBrowserSiteBase.cs
- SmiEventSink_Default.cs
- PartBasedPackageProperties.cs
- DirtyTextRange.cs
- TreeViewItemAutomationPeer.cs
- PropertyValueUIItem.cs
- LinqDataSourceInsertEventArgs.cs
- BoundColumn.cs
- EndOfStreamException.cs
- Line.cs
- HandleInitializationContext.cs
- NotificationContext.cs
- VersionedStreamOwner.cs