Code:
/ FX-1434 / FX-1434 / 1.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
- _ListenerAsyncResult.cs
- BitmapEffectCollection.cs
- ParameterCollection.cs
- ToggleButton.cs
- _BasicClient.cs
- XsltOutput.cs
- DbConnectionPoolCounters.cs
- LocationInfo.cs
- XmlImplementation.cs
- WebPartDisplayMode.cs
- Button.cs
- PropertyGeneratedEventArgs.cs
- ThicknessAnimation.cs
- BmpBitmapDecoder.cs
- InternalSafeNativeMethods.cs
- MenuItemStyle.cs
- ListParagraph.cs
- Int32AnimationUsingKeyFrames.cs
- ActiveXSite.cs
- SelectedGridItemChangedEvent.cs
- SoapIgnoreAttribute.cs
- TimelineClockCollection.cs
- TypeFieldSchema.cs
- DataColumnCollection.cs
- UriTemplateClientFormatter.cs
- DeleteHelper.cs
- Opcode.cs
- MethodMessage.cs
- InheritablePropertyChangeInfo.cs
- DeadCharTextComposition.cs
- HyperlinkAutomationPeer.cs
- HtmlSelect.cs
- XPathAxisIterator.cs
- CqlLexer.cs
- SemaphoreFullException.cs
- XmlSchemaSimpleType.cs
- WorkflowMarkupSerializationException.cs
- DeobfuscatingStream.cs
- PerformanceCounterPermission.cs
- RegularExpressionValidator.cs
- SignatureHelper.cs
- TargetParameterCountException.cs
- IntegerFacetDescriptionElement.cs
- ParamArrayAttribute.cs
- ConversionValidationRule.cs
- ConsumerConnectionPoint.cs
- RoutingService.cs
- MenuItem.cs
- SqlDependency.cs
- WebPartConnectVerb.cs
- ObjectStateManagerMetadata.cs
- ScrollEventArgs.cs
- DebugView.cs
- FileClassifier.cs
- StringToken.cs
- SpellerHighlightLayer.cs
- ResourceWriter.cs
- SqlRowUpdatingEvent.cs
- IncrementalHitTester.cs
- ObjectDisposedException.cs
- InstanceKeyView.cs
- XmlCDATASection.cs
- RawStylusInput.cs
- RelationHandler.cs
- Collection.cs
- Workspace.cs
- PageFunction.cs
- GeometryGroup.cs
- MethodBuilder.cs
- BitmapImage.cs
- SqlExpander.cs
- loginstatus.cs
- ConfigurationPermission.cs
- MultiByteCodec.cs
- Common.cs
- SiteMap.cs
- CannotUnloadAppDomainException.cs
- HitTestWithGeometryDrawingContextWalker.cs
- PieceNameHelper.cs
- CollectionViewGroupInternal.cs
- DetailsViewInsertEventArgs.cs
- BCLDebug.cs
- TagPrefixAttribute.cs
- StreamResourceInfo.cs
- WebPartAuthorizationEventArgs.cs
- TableRowCollection.cs
- DbParameterCollectionHelper.cs
- MenuItemAutomationPeer.cs
- SslStream.cs
- ImageMetadata.cs
- StateInitialization.cs
- UndirectedGraph.cs
- EmissiveMaterial.cs
- JsonQueryStringConverter.cs
- SimpleWebHandlerParser.cs
- HttpGetProtocolImporter.cs
- SecurityPolicySection.cs
- PrivilegeNotHeldException.cs
- DataGridRowsPresenter.cs
- DateTimeAutomationPeer.cs