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
- TreeViewHitTestInfo.cs
- ConsumerConnectionPoint.cs
- MetadataExchangeClient.cs
- EventHandlersStore.cs
- DecoderFallback.cs
- ColumnHeader.cs
- HierarchicalDataSourceDesigner.cs
- BinaryUtilClasses.cs
- xml.cs
- SchemaElementDecl.cs
- UnsafeCollabNativeMethods.cs
- CodeCompiler.cs
- LockedAssemblyCache.cs
- HttpCookieCollection.cs
- Serializer.cs
- CommandConverter.cs
- ProcessHost.cs
- CalendarButtonAutomationPeer.cs
- ProxyWebPart.cs
- RowToParametersTransformer.cs
- XmlSchemaAll.cs
- PropertyGeneratedEventArgs.cs
- RequestCacheValidator.cs
- LocalizableResourceBuilder.cs
- ProgressBarBrushConverter.cs
- XsdDateTime.cs
- AnnotationAuthorChangedEventArgs.cs
- TableLayoutPanelCellPosition.cs
- TileModeValidation.cs
- log.cs
- XmlIlVisitor.cs
- AuthenticationService.cs
- InfoCardKeyedHashAlgorithm.cs
- SelectQueryOperator.cs
- HttpProfileGroupBase.cs
- FrameworkContentElementAutomationPeer.cs
- GetWinFXPath.cs
- DBCommandBuilder.cs
- XAMLParseException.cs
- FolderBrowserDialog.cs
- SmiRecordBuffer.cs
- BrowserCapabilitiesCodeGenerator.cs
- odbcmetadatafactory.cs
- CodeGeneratorOptions.cs
- PropagatorResult.cs
- TextTreeUndo.cs
- WorkflowQueue.cs
- Math.cs
- columnmapfactory.cs
- RegexNode.cs
- WindowsListViewItemCheckBox.cs
- BroadcastEventHelper.cs
- RectConverter.cs
- XslTransform.cs
- RegexCharClass.cs
- AsyncStreamReader.cs
- SelectQueryOperator.cs
- ObjectDataSourceView.cs
- Annotation.cs
- DbConnectionHelper.cs
- ClientTargetSection.cs
- SimpleHandlerBuildProvider.cs
- SchemaDeclBase.cs
- TextServicesContext.cs
- ConfigurationConverterBase.cs
- BinaryFormatter.cs
- EllipseGeometry.cs
- WpfKnownTypeInvoker.cs
- CodePageUtils.cs
- CacheMemory.cs
- IteratorAsyncResult.cs
- DataServiceEntityAttribute.cs
- ScalarConstant.cs
- LinkDescriptor.cs
- ConfigurationCollectionAttribute.cs
- ProfilePropertySettings.cs
- BitmapEffect.cs
- ClientCredentials.cs
- TextLine.cs
- Popup.cs
- TabControlEvent.cs
- RectangleF.cs
- ContentElement.cs
- ProjectedSlot.cs
- Rights.cs
- SqlServices.cs
- CollectionViewSource.cs
- BindingCollection.cs
- PerformanceCounterPermissionEntryCollection.cs
- DeadLetterQueue.cs
- ContentType.cs
- Subset.cs
- EdmFunctionAttribute.cs
- WaitForChangedResult.cs
- smtpconnection.cs
- ObjectAnimationUsingKeyFrames.cs
- Bits.cs
- GenericTypeParameterBuilder.cs
- Overlapped.cs
- DBParameter.cs