Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / WebSysDescriptionAttribute.cs / 1 / WebSysDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] internal class WebSysDescriptionAttribute : DescriptionAttribute { private bool replaced; ////// internal WebSysDescriptionAttribute(string description) : base(description) { } ///Constructs a new sys description. ////// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } public override object TypeId { get { return typeof(DescriptionAttribute); } } } }Retrieves the description text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AxisAngleRotation3D.cs
- PropertyInformationCollection.cs
- baseaxisquery.cs
- SimpleLine.cs
- StandardToolWindows.cs
- filewebresponse.cs
- ProfilePropertySettingsCollection.cs
- SafePEFileHandle.cs
- AsymmetricKeyExchangeDeformatter.cs
- _AuthenticationState.cs
- ExpressionEditorAttribute.cs
- HttpConfigurationContext.cs
- ArraySortHelper.cs
- ApplicationHost.cs
- Transform.cs
- ModelChangedEventArgsImpl.cs
- ObjectHandle.cs
- GridViewUpdatedEventArgs.cs
- ParentQuery.cs
- RegexTypeEditor.cs
- KeyTime.cs
- EmptyStringExpandableObjectConverter.cs
- OleDbConnectionInternal.cs
- SafeBitVector32.cs
- Opcode.cs
- AuthenticateEventArgs.cs
- PrintingPermissionAttribute.cs
- GPRECT.cs
- HandleRef.cs
- DocumentOrderQuery.cs
- MimeParameterWriter.cs
- FunctionDescription.cs
- BufferBuilder.cs
- ResourcePermissionBase.cs
- SecurityPolicySection.cs
- DocumentViewerBase.cs
- IndependentlyAnimatedPropertyMetadata.cs
- SrgsRule.cs
- IImplicitResourceProvider.cs
- RequiredArgumentAttribute.cs
- RestHandlerFactory.cs
- Expressions.cs
- XmlComment.cs
- ThreadExceptionEvent.cs
- DefaultValueConverter.cs
- Misc.cs
- ListBoxItem.cs
- Int32CollectionValueSerializer.cs
- ReadOnlyTernaryTree.cs
- documentsequencetextview.cs
- ConsoleTraceListener.cs
- XmlReaderSettings.cs
- NotFiniteNumberException.cs
- MILUtilities.cs
- BinaryUtilClasses.cs
- SafeArrayTypeMismatchException.cs
- ConfigXmlDocument.cs
- TouchesOverProperty.cs
- CancellationTokenSource.cs
- PeerHopCountAttribute.cs
- SqlDependency.cs
- ErrorInfoXmlDocument.cs
- RepeatButton.cs
- XmlDataDocument.cs
- ImageListStreamer.cs
- FileClassifier.cs
- VirtualPathProvider.cs
- XmlReaderSettings.cs
- WebPartDisplayModeEventArgs.cs
- WindowsContainer.cs
- XmlDocumentFragment.cs
- XNameTypeConverter.cs
- SystemWebSectionGroup.cs
- StrokeDescriptor.cs
- HttpHandlersInstallComponent.cs
- WebBrowser.cs
- Argument.cs
- FixedStringLookup.cs
- RequestCacheManager.cs
- StrokeNodeData.cs
- SweepDirectionValidation.cs
- XamlStyleSerializer.cs
- HandlerFactoryWrapper.cs
- SvcMapFileSerializer.cs
- X509CertificateRecipientClientCredential.cs
- XmlDocumentFragment.cs
- StorageEntityTypeMapping.cs
- CmsUtils.cs
- GenerateHelper.cs
- ValidatingReaderNodeData.cs
- CommandField.cs
- BamlLocalizableResource.cs
- WindowVisualStateTracker.cs
- XmlReturnReader.cs
- XpsException.cs
- XPathNode.cs
- LoadMessageLogger.cs
- ScrollEvent.cs
- ValueType.cs
- AsmxEndpointPickerExtension.cs