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
- HostProtectionException.cs
- PieceNameHelper.cs
- webbrowsersite.cs
- ToolStripComboBox.cs
- AssemblyHash.cs
- DesignerSerializationVisibilityAttribute.cs
- unsafenativemethodstextservices.cs
- BrowserTree.cs
- IssuedTokenClientElement.cs
- JsonDeserializer.cs
- XsdDataContractExporter.cs
- XmlDataSourceNodeDescriptor.cs
- ZipIOExtraFieldElement.cs
- BooleanExpr.cs
- TemplatePropertyEntry.cs
- MouseGestureConverter.cs
- LogExtentCollection.cs
- ipaddressinformationcollection.cs
- ScalarRestriction.cs
- PropertyDescriptor.cs
- ComponentResourceKeyConverter.cs
- EntityDataReader.cs
- _AuthenticationState.cs
- MessageAction.cs
- dataobject.cs
- ProxyWebPartConnectionCollection.cs
- CollectionViewGroup.cs
- VisualStateManager.cs
- User.cs
- EventManager.cs
- MonitorWrapper.cs
- DocumentReferenceCollection.cs
- SizeKeyFrameCollection.cs
- FixedSOMTableRow.cs
- JsonSerializer.cs
- AccessibleObject.cs
- Mapping.cs
- DbProviderFactoriesConfigurationHandler.cs
- LocalizedNameDescriptionPair.cs
- WebResourceUtil.cs
- BasicExpandProvider.cs
- DateTimeFormatInfo.cs
- TransformedBitmap.cs
- BindingNavigatorDesigner.cs
- RequestSecurityToken.cs
- XslVisitor.cs
- CodeGotoStatement.cs
- GB18030Encoding.cs
- DataKeyArray.cs
- SizeConverter.cs
- DesignerAttribute.cs
- RegisterInfo.cs
- DictionaryManager.cs
- LinearGradientBrush.cs
- KnownTypesProvider.cs
- WeakHashtable.cs
- Schedule.cs
- KernelTypeValidation.cs
- BasicBrowserDialog.designer.cs
- NetNamedPipeBindingElement.cs
- Main.cs
- PropertyPathWorker.cs
- Repeater.cs
- RuntimeUtils.cs
- Parameter.cs
- Button.cs
- UriSectionData.cs
- PopupRootAutomationPeer.cs
- SubMenuStyleCollection.cs
- ContactManager.cs
- MsmqInputMessagePool.cs
- FilterableAttribute.cs
- LinearGradientBrush.cs
- Int16Converter.cs
- DataGridRowClipboardEventArgs.cs
- BamlBinaryReader.cs
- ReaderOutput.cs
- AuthenticationConfig.cs
- OdbcDataReader.cs
- NameScope.cs
- ChineseLunisolarCalendar.cs
- WebExceptionStatus.cs
- SourceItem.cs
- SapiGrammar.cs
- PageScaling.cs
- DoubleLinkListEnumerator.cs
- ItemContainerGenerator.cs
- XmlDataSourceNodeDescriptor.cs
- ObjRef.cs
- TreeBuilder.cs
- DesignerSerializationVisibilityAttribute.cs
- ExtensionQuery.cs
- TiffBitmapDecoder.cs
- CompiledQueryCacheEntry.cs
- UiaCoreApi.cs
- InvalidEnumArgumentException.cs
- DateRangeEvent.cs
- EditorZoneDesigner.cs
- JsonDeserializer.cs
- DashStyle.cs