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
- TextParentUndoUnit.cs
- IFlowDocumentViewer.cs
- SelectingProviderEventArgs.cs
- MemoryMappedFile.cs
- ValueChangedEventManager.cs
- QilStrConcatenator.cs
- WsdlInspector.cs
- HashCodeCombiner.cs
- ScopeCompiler.cs
- util.cs
- contentDescriptor.cs
- ConfigurationElement.cs
- ItemList.cs
- HelpKeywordAttribute.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- MetadataArtifactLoaderFile.cs
- BinaryObjectInfo.cs
- EdmValidator.cs
- CachedBitmap.cs
- ValidatorUtils.cs
- WebPartDisplayModeEventArgs.cs
- MemberPathMap.cs
- DoubleStorage.cs
- CultureInfoConverter.cs
- XmlDocument.cs
- XmlValueConverter.cs
- NameNode.cs
- WebResponse.cs
- BufferBuilder.cs
- RewritingValidator.cs
- DetailsViewInsertEventArgs.cs
- DataGridViewCell.cs
- SecurityTokenInclusionMode.cs
- Focus.cs
- ToolStripTextBox.cs
- FlowNode.cs
- SafeEventLogReadHandle.cs
- TdsParserHelperClasses.cs
- NavigationProperty.cs
- XmlSchemaIdentityConstraint.cs
- BooleanExpr.cs
- SystemIPInterfaceStatistics.cs
- CurrencyWrapper.cs
- MethodImplAttribute.cs
- SqlFunctionAttribute.cs
- BoundPropertyEntry.cs
- SequenceNumber.cs
- OdbcParameterCollection.cs
- GenericAuthenticationEventArgs.cs
- PropertiesTab.cs
- TabPanel.cs
- XmlEntity.cs
- SiteMapDataSourceView.cs
- ErrorHandler.cs
- GPRECT.cs
- TraceXPathNavigator.cs
- _HelperAsyncResults.cs
- HttpRequest.cs
- PeerNameRegistration.cs
- SelectedGridItemChangedEvent.cs
- CommandDevice.cs
- SmtpNtlmAuthenticationModule.cs
- HighlightComponent.cs
- GreenMethods.cs
- LongPath.cs
- SafeFileMappingHandle.cs
- LineBreak.cs
- SessionSwitchEventArgs.cs
- UniqueIdentifierService.cs
- SimpleType.cs
- LessThanOrEqual.cs
- MenuItem.cs
- Rotation3D.cs
- SplayTreeNode.cs
- DelayLoadType.cs
- xmlsaver.cs
- Region.cs
- FormViewPageEventArgs.cs
- HttpRequest.cs
- XmlAnyElementAttributes.cs
- DockingAttribute.cs
- BufferAllocator.cs
- input.cs
- SamlDelegatingWriter.cs
- SqlUdtInfo.cs
- DataGridViewRowConverter.cs
- IdentityReference.cs
- NavigationProgressEventArgs.cs
- ConnectionManagementElement.cs
- DecoratedNameAttribute.cs
- ReadContentAsBinaryHelper.cs
- HandledEventArgs.cs
- WebContext.cs
- ResourceReferenceExpressionConverter.cs
- TreeView.cs
- ViewgenGatekeeper.cs
- EntitySetRetriever.cs
- RealizationContext.cs
- EdmTypeAttribute.cs
- SvcMapFile.cs