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
- ButtonColumn.cs
- QuadraticEase.cs
- RowUpdatingEventArgs.cs
- MultiBindingExpression.cs
- SimpleBitVector32.cs
- NavigationPropertyAccessor.cs
- SystemMulticastIPAddressInformation.cs
- PerfService.cs
- XmlStreamNodeWriter.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ClientData.cs
- HiddenFieldPageStatePersister.cs
- SelectionEditingBehavior.cs
- StreamWriter.cs
- ImageField.cs
- CssTextWriter.cs
- EmbeddedObject.cs
- SecurityRuntime.cs
- TransactionWaitAsyncResult.cs
- DesignerValidationSummaryAdapter.cs
- TcpHostedTransportConfiguration.cs
- IdnElement.cs
- tooltip.cs
- PerformanceCounter.cs
- UnlockCardRequest.cs
- ByteStream.cs
- GZipStream.cs
- OracleBinary.cs
- DefaultAssemblyResolver.cs
- BindingSource.cs
- CodeDOMProvider.cs
- QuadraticBezierSegment.cs
- PingReply.cs
- CookieHandler.cs
- Oci.cs
- SkinIDTypeConverter.cs
- XmlDocumentSerializer.cs
- HttpWriter.cs
- XmlNodeChangedEventManager.cs
- WebPartMovingEventArgs.cs
- EntitySetDataBindingList.cs
- XdrBuilder.cs
- Stack.cs
- WindowsFormsSectionHandler.cs
- ObjectStorage.cs
- SettingsPropertyCollection.cs
- ColorPalette.cs
- InvalidPrinterException.cs
- XamlStream.cs
- X509CertificateValidator.cs
- EntityCommandDefinition.cs
- Attributes.cs
- KnownTypesProvider.cs
- Header.cs
- XmlLoader.cs
- WebScriptClientGenerator.cs
- altserialization.cs
- ServerValidateEventArgs.cs
- RootBrowserWindowProxy.cs
- FileDialogPermission.cs
- TextEditorThreadLocalStore.cs
- BamlBinaryReader.cs
- DropShadowBitmapEffect.cs
- EntitySetDataBindingList.cs
- DbDataRecord.cs
- Walker.cs
- MsmqException.cs
- RestHandlerFactory.cs
- StagingAreaInputItem.cs
- SmiContextFactory.cs
- ConnectionManagementElement.cs
- XmlDocumentFragment.cs
- EndpointDiscoveryMetadata.cs
- PasswordTextNavigator.cs
- ReadOnlyKeyedCollection.cs
- SaveFileDialog.cs
- Transform.cs
- ConstructorNeedsTagAttribute.cs
- RightsManagementPermission.cs
- XhtmlBasicLinkAdapter.cs
- WebPartManagerDesigner.cs
- IListConverters.cs
- GeometryGroup.cs
- ContentElement.cs
- SpellerHighlightLayer.cs
- DesignerToolboxInfo.cs
- IdentityElement.cs
- Axis.cs
- EndpointNameMessageFilter.cs
- ReferencedType.cs
- ToolStripItemDataObject.cs
- DBAsyncResult.cs
- Size3DValueSerializer.cs
- HttpResponseHeader.cs
- PhysicalFontFamily.cs
- Predicate.cs
- SchemaCreator.cs
- EventlogProvider.cs
- Perspective.cs
- SiteMembershipCondition.cs