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
- RuleSettingsCollection.cs
- MediaCommands.cs
- AddInPipelineAttributes.cs
- RenamedEventArgs.cs
- ExtensionSimplifierMarkupObject.cs
- WebPartVerbsEventArgs.cs
- OdbcDataReader.cs
- Random.cs
- X509SecurityTokenProvider.cs
- IPPacketInformation.cs
- ModifierKeysValueSerializer.cs
- DropShadowBitmapEffect.cs
- PropertyIDSet.cs
- LinqDataSourceDisposeEventArgs.cs
- VariableAction.cs
- ResourceManager.cs
- BooleanFacetDescriptionElement.cs
- PartialCachingControl.cs
- PathSegmentCollection.cs
- BrushValueSerializer.cs
- XmlWrappingWriter.cs
- Pair.cs
- DocumentOrderQuery.cs
- RecipientInfo.cs
- ReaderWriterLock.cs
- TargetException.cs
- _ListenerRequestStream.cs
- CallContext.cs
- WebAdminConfigurationHelper.cs
- MailSettingsSection.cs
- IntMinMaxAggregationOperator.cs
- XmlObjectSerializer.cs
- AppliesToBehaviorDecisionTable.cs
- SqlGenericUtil.cs
- ConfigurationValidatorAttribute.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- StreamInfo.cs
- SafeHandle.cs
- UriTemplateVariablePathSegment.cs
- AppSettingsSection.cs
- PeerCollaborationPermission.cs
- ParentQuery.cs
- FlowDecisionLabelFeature.cs
- UrlMapping.cs
- ClientSettingsStore.cs
- EventDescriptorCollection.cs
- SerialErrors.cs
- MediaScriptCommandRoutedEventArgs.cs
- CustomBindingElement.cs
- RelatedCurrencyManager.cs
- StylusPointPropertyInfoDefaults.cs
- UserControlFileEditor.cs
- FontCollection.cs
- OledbConnectionStringbuilder.cs
- ColorConvertedBitmap.cs
- WindowsPrincipal.cs
- Exceptions.cs
- ValidationErrorCollection.cs
- ResourceExpressionBuilder.cs
- StreamUpdate.cs
- SafeIUnknown.cs
- TypeDelegator.cs
- Task.cs
- Closure.cs
- BridgeDataRecord.cs
- SerializationSectionGroup.cs
- MouseWheelEventArgs.cs
- FileUtil.cs
- tooltip.cs
- CodeGenerator.cs
- CapabilitiesUse.cs
- PermissionListSet.cs
- WindowsAuthenticationModule.cs
- CancellationState.cs
- UtilityExtension.cs
- WebPartMovingEventArgs.cs
- ImageDrawing.cs
- SystemIPGlobalStatistics.cs
- CodeTypeMemberCollection.cs
- PerfCounters.cs
- CodeTypeDelegate.cs
- AudioFormatConverter.cs
- SplayTreeNode.cs
- PageSetupDialog.cs
- FileDialogCustomPlacesCollection.cs
- SubtreeProcessor.cs
- TreeViewImageKeyConverter.cs
- DateBoldEvent.cs
- LinkButton.cs
- WindowsNonControl.cs
- CLRBindingWorker.cs
- DataSourceProvider.cs
- ControlDesigner.cs
- RegexMatchCollection.cs
- Tablet.cs
- DefaultExpression.cs
- XamlFilter.cs
- SetIterators.cs
- Accessible.cs
- JsonSerializer.cs