Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- BasicExpressionVisitor.cs
- TrailingSpaceComparer.cs
- FusionWrap.cs
- Typography.cs
- PointConverter.cs
- DefaultValueAttribute.cs
- AutomationEventArgs.cs
- FormViewDeleteEventArgs.cs
- ClientFormsAuthenticationMembershipProvider.cs
- DecoderFallbackWithFailureFlag.cs
- Binding.cs
- ParseElementCollection.cs
- basevalidator.cs
- ZipPackagePart.cs
- AncestorChangedEventArgs.cs
- EntitySqlException.cs
- TextTreeNode.cs
- ConcurrentBag.cs
- CacheMemory.cs
- PkcsMisc.cs
- MatrixUtil.cs
- ColumnPropertiesGroup.cs
- MetadataCache.cs
- Rights.cs
- TdsParserHelperClasses.cs
- SystemWebCachingSectionGroup.cs
- Timeline.cs
- TextEncodedRawTextWriter.cs
- XPathSingletonIterator.cs
- ThreadStaticAttribute.cs
- Clause.cs
- SoundPlayer.cs
- PolyBezierSegmentFigureLogic.cs
- CapabilitiesPattern.cs
- DetailsView.cs
- CustomTypeDescriptor.cs
- Automation.cs
- HttpCapabilitiesBase.cs
- DataServiceKeyAttribute.cs
- AddInIpcChannel.cs
- DataKey.cs
- CaseDesigner.xaml.cs
- ContentOperations.cs
- TextCollapsingProperties.cs
- Funcletizer.cs
- ArcSegment.cs
- ImageAttributes.cs
- DataGridState.cs
- ProfileServiceManager.cs
- ListViewDeleteEventArgs.cs
- DynamicDataManager.cs
- PageHandlerFactory.cs
- HtmlTableCellCollection.cs
- Guid.cs
- SynchronizingStream.cs
- ComponentEditorForm.cs
- SecurityToken.cs
- NativeCompoundFileAPIs.cs
- CustomErrorsSectionWrapper.cs
- ControlPropertyNameConverter.cs
- ScrollChrome.cs
- ConcatQueryOperator.cs
- XPathSelfQuery.cs
- PartialList.cs
- RowsCopiedEventArgs.cs
- WindowAutomationPeer.cs
- SignatureHelper.cs
- FormViewCommandEventArgs.cs
- CaseStatementProjectedSlot.cs
- CodeRegionDirective.cs
- EntitySetBaseCollection.cs
- HandlerWithFactory.cs
- MtomMessageEncodingElement.cs
- TextEditorThreadLocalStore.cs
- WebPartConnectionsCancelVerb.cs
- UnsafeNativeMethods.cs
- wgx_render.cs
- AuthenticateEventArgs.cs
- HiddenFieldPageStatePersister.cs
- EntityConnection.cs
- contentDescriptor.cs
- JsonCollectionDataContract.cs
- PropertyRef.cs
- ToolboxDataAttribute.cs
- OneOf.cs
- StylusTip.cs
- RelationshipSet.cs
- UnionCodeGroup.cs
- TraceInternal.cs
- ConstrainedDataObject.cs
- Matrix3DStack.cs
- SafeArrayRankMismatchException.cs
- FormClosedEvent.cs
- DesignerOptionService.cs
- CopyNamespacesAction.cs
- HttpConfigurationSystem.cs
- HashSet.cs
- ClientRuntimeConfig.cs
- TabControlCancelEvent.cs
- DataPagerFieldItem.cs