Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / ConstructorNeedsTagAttribute.cs / 1305376 / 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)] 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)] 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
- Socket.cs
- brushes.cs
- WebControlsSection.cs
- ScrollBar.cs
- PathFigure.cs
- ElementMarkupObject.cs
- DPTypeDescriptorContext.cs
- Cell.cs
- UidPropertyAttribute.cs
- MruCache.cs
- MetaType.cs
- SystemResources.cs
- DetailsViewActionList.cs
- DeleteHelper.cs
- AssemblyInfo.cs
- StandardToolWindows.cs
- Imaging.cs
- AspNetCompatibilityRequirementsMode.cs
- Script.cs
- X509WindowsSecurityToken.cs
- PresentationSource.cs
- InlineObject.cs
- keycontainerpermission.cs
- EdmProperty.cs
- TileBrush.cs
- ellipse.cs
- hresults.cs
- ScopelessEnumAttribute.cs
- OrthographicCamera.cs
- HtmlImage.cs
- TextDecorations.cs
- ReversePositionQuery.cs
- SmiEventSink.cs
- ScrollProperties.cs
- CodePropertyReferenceExpression.cs
- PageRanges.cs
- DataGridViewLayoutData.cs
- webbrowsersite.cs
- UnsafeNativeMethods.cs
- URIFormatException.cs
- FrameworkElement.cs
- IfAction.cs
- VectorCollectionConverter.cs
- ContainerControlDesigner.cs
- StateDesigner.Layouts.cs
- SecurityCriticalDataForSet.cs
- UnsafeNativeMethods.cs
- WindowsRichEditRange.cs
- LookupBindingPropertiesAttribute.cs
- SessionPageStateSection.cs
- SqlParameterCollection.cs
- Lock.cs
- LinqDataSourceDeleteEventArgs.cs
- SplitterPanel.cs
- HtmlWindow.cs
- XmlQualifiedName.cs
- TdsParameterSetter.cs
- FormatterServicesNoSerializableCheck.cs
- ToolStripDropDownItemDesigner.cs
- ExtensionSimplifierMarkupObject.cs
- FormsAuthenticationConfiguration.cs
- AnimationStorage.cs
- RegexCaptureCollection.cs
- PathFigureCollectionValueSerializer.cs
- PriorityQueue.cs
- WasAdminWrapper.cs
- DynamicActionMessageFilter.cs
- XhtmlBasicValidatorAdapter.cs
- SqlTypeSystemProvider.cs
- _RequestCacheProtocol.cs
- CacheAxisQuery.cs
- compensatingcollection.cs
- DependencyObject.cs
- GroupQuery.cs
- DetailsView.cs
- PageAsyncTask.cs
- SplitterEvent.cs
- ProtocolsSection.cs
- XmlSignatureManifest.cs
- DataGridColumnCollection.cs
- CqlWriter.cs
- RefreshEventArgs.cs
- __ConsoleStream.cs
- PageThemeParser.cs
- RepeaterDesigner.cs
- Menu.cs
- ProbeMatchesApril2005.cs
- Point3D.cs
- ObjectDataSourceEventArgs.cs
- DataPagerCommandEventArgs.cs
- DateTimeEditor.cs
- PropertyPathWorker.cs
- SurrogateEncoder.cs
- CharEntityEncoderFallback.cs
- EncodingTable.cs
- ServiceDescription.cs
- Site.cs
- DotExpr.cs
- ExpandedWrapper.cs
- CreateUserWizardStep.cs