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
- ThemeDirectoryCompiler.cs
- FileDataSource.cs
- DataGrid.cs
- ArgIterator.cs
- MarkerProperties.cs
- TagPrefixAttribute.cs
- ChildrenQuery.cs
- TabPage.cs
- RijndaelManagedTransform.cs
- PlaceHolder.cs
- UniqueTransportManagerRegistration.cs
- PropertyContainer.cs
- SchemaType.cs
- ControlBuilder.cs
- XslCompiledTransform.cs
- Pen.cs
- SyntaxCheck.cs
- Inline.cs
- NoClickablePointException.cs
- StylusEventArgs.cs
- EntityContainerEmitter.cs
- DynamicRenderer.cs
- Window.cs
- XXXOnTypeBuilderInstantiation.cs
- ConnectionPoint.cs
- VectorValueSerializer.cs
- DLinqDataModelProvider.cs
- ButtonColumn.cs
- HttpContext.cs
- RotateTransform.cs
- DescendantBaseQuery.cs
- VSWCFServiceContractGenerator.cs
- BindingExpression.cs
- GridLengthConverter.cs
- ListView.cs
- RuleValidation.cs
- Native.cs
- OracleString.cs
- mediaeventshelper.cs
- StackBuilderSink.cs
- DisplayInformation.cs
- HelpInfo.cs
- EnumerableRowCollectionExtensions.cs
- SelectionEditingBehavior.cs
- OdbcError.cs
- SoapRpcServiceAttribute.cs
- XPathNode.cs
- DataColumn.cs
- TargetConverter.cs
- WebPartExportVerb.cs
- FullTextBreakpoint.cs
- AttributeData.cs
- InternalTypeHelper.cs
- _LoggingObject.cs
- IBuiltInEvidence.cs
- RouteParameter.cs
- StringPropertyBuilder.cs
- FrameAutomationPeer.cs
- AuthenticationSection.cs
- DataGridViewColumn.cs
- CompModSwitches.cs
- XPathDocument.cs
- XmlSchemaSimpleContentExtension.cs
- PolyBezierSegmentFigureLogic.cs
- BindingEditor.xaml.cs
- coordinatorfactory.cs
- TextBoxLine.cs
- ProgressBarHighlightConverter.cs
- CustomErrorCollection.cs
- List.cs
- XmlWriter.cs
- CapabilitiesPattern.cs
- SocketConnection.cs
- ExpressionEditorAttribute.cs
- BitFlagsGenerator.cs
- CustomSignedXml.cs
- ListViewDeletedEventArgs.cs
- CompilerError.cs
- QueryContinueDragEvent.cs
- EntityAdapter.cs
- SetIterators.cs
- GatewayDefinition.cs
- ImpersonationContext.cs
- State.cs
- NullExtension.cs
- DefaultMemberAttribute.cs
- TokenBasedSet.cs
- DataGridState.cs
- NameObjectCollectionBase.cs
- Assembly.cs
- HelpEvent.cs
- OdbcFactory.cs
- Duration.cs
- PreProcessor.cs
- SelectionWordBreaker.cs
- SimpleWebHandlerParser.cs
- NameValueFileSectionHandler.cs
- SchemaImporterExtensionElement.cs
- PropertyIDSet.cs
- NullableLongAverageAggregationOperator.cs