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
- SingleObjectCollection.cs
- MatrixStack.cs
- HideDisabledControlAdapter.cs
- CallbackException.cs
- ToolStripDropDownClosingEventArgs.cs
- BitmapEffectDrawingContextWalker.cs
- ValidationRuleCollection.cs
- ViewStateException.cs
- PropertyPushdownHelper.cs
- ControlPropertyNameConverter.cs
- FormClosingEvent.cs
- CapacityStreamGeometryContext.cs
- COM2ExtendedTypeConverter.cs
- DrawingBrush.cs
- SqlDataSource.cs
- GeometryConverter.cs
- SchemaCreator.cs
- BitFlagsGenerator.cs
- DetailsViewCommandEventArgs.cs
- ScriptManager.cs
- Config.cs
- DocumentAutomationPeer.cs
- EmptyElement.cs
- LocationUpdates.cs
- SafeHandles.cs
- Encoding.cs
- NotificationContext.cs
- ObservableCollection.cs
- FieldAccessException.cs
- Type.cs
- _CommandStream.cs
- ShaperBuffers.cs
- ViewPort3D.cs
- OptimalBreakSession.cs
- SweepDirectionValidation.cs
- Schema.cs
- DependencyPropertyAttribute.cs
- PermissionAttributes.cs
- Material.cs
- DropShadowBitmapEffect.cs
- BaseTemplateBuildProvider.cs
- PermissionToken.cs
- DataGridViewRowsRemovedEventArgs.cs
- GridViewRowPresenter.cs
- HWStack.cs
- PackageProperties.cs
- DocumentOrderQuery.cs
- AnnotationComponentChooser.cs
- StyleTypedPropertyAttribute.cs
- TagPrefixCollection.cs
- TextEndOfParagraph.cs
- CaseInsensitiveComparer.cs
- SpeakInfo.cs
- SoapReflectionImporter.cs
- Main.cs
- DataViewManagerListItemTypeDescriptor.cs
- ComponentResourceKey.cs
- StoreAnnotationsMap.cs
- StandardCommands.cs
- XmlElementCollection.cs
- HttpStreamMessage.cs
- UserPrincipalNameElement.cs
- MappingMetadataHelper.cs
- _LocalDataStoreMgr.cs
- StylusPointPropertyId.cs
- EmbeddedMailObject.cs
- FilteredAttributeCollection.cs
- CompilationRelaxations.cs
- ReadContentAsBinaryHelper.cs
- DecoratedNameAttribute.cs
- CounterSet.cs
- InvokePattern.cs
- PathTooLongException.cs
- RichTextBox.cs
- GeneralTransform.cs
- WebScriptClientGenerator.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WCFServiceClientProxyGenerator.cs
- CodeCommentStatement.cs
- ToolStripItemClickedEventArgs.cs
- FtpWebResponse.cs
- SocketPermission.cs
- ChangeProcessor.cs
- WizardStepBase.cs
- SafePointer.cs
- DesignerSelectionListAdapter.cs
- BindingCompleteEventArgs.cs
- DirectoryNotFoundException.cs
- GridProviderWrapper.cs
- WindowsFormsHost.cs
- DataViewManagerListItemTypeDescriptor.cs
- XmlException.cs
- ResourceSet.cs
- WebPartDeleteVerb.cs
- ProfileManager.cs
- View.cs
- TypographyProperties.cs
- QuaternionAnimationBase.cs
- UpdatePanelTriggerCollection.cs
- SplineKeyFrames.cs