Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / WebServicesDescriptionAttribute.cs / 1305376 / WebServicesDescriptionAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Services {
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 WebServicesDescriptionAttribute : DescriptionAttribute {
private bool replaced = false;
///
///
/// Constructs a new sys description.
///
internal WebServicesDescriptionAttribute(string description) : base(description) {
}
///
///
/// Retrieves the description text.
///
public override string Description {
get {
if (!replaced) {
replaced = true;
DescriptionValue = Res.GetString(base.Description);
}
return base.Description;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextServicesProperty.cs
- SqlMethodAttribute.cs
- JsonEnumDataContract.cs
- ActivityFunc.cs
- ParamArrayAttribute.cs
- DataRowChangeEvent.cs
- MarkupExtensionReturnTypeAttribute.cs
- EdmComplexTypeAttribute.cs
- DataGridLinkButton.cs
- IntSecurity.cs
- NonParentingControl.cs
- ToolStripItemEventArgs.cs
- DocumentOrderQuery.cs
- SettingsAttributeDictionary.cs
- PolyBezierSegment.cs
- PopupEventArgs.cs
- IPAddress.cs
- SqlMethodTransformer.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- EllipseGeometry.cs
- BindingCompleteEventArgs.cs
- SystemWebCachingSectionGroup.cs
- ImageAnimator.cs
- WS2007FederationHttpBindingCollectionElement.cs
- XmlSchemaElement.cs
- TypeSemantics.cs
- ClientUrlResolverWrapper.cs
- OutgoingWebRequestContext.cs
- RPIdentityRequirement.cs
- Helpers.cs
- LOSFormatter.cs
- safex509handles.cs
- XmlSchemaObjectTable.cs
- AnnotationHelper.cs
- TypeConverterHelper.cs
- CompilationSection.cs
- UserControl.cs
- WebPartConnectionsDisconnectVerb.cs
- PatternMatcher.cs
- CodeCommentStatement.cs
- EditorPart.cs
- SecurityTokenContainer.cs
- CallTemplateAction.cs
- CompilationRelaxations.cs
- PanelStyle.cs
- counter.cs
- RowSpanVector.cs
- BamlStream.cs
- TreeNodeStyleCollectionEditor.cs
- XmlCodeExporter.cs
- SafeFindHandle.cs
- BadImageFormatException.cs
- SafeRightsManagementEnvironmentHandle.cs
- FileDialog_Vista_Interop.cs
- LongPath.cs
- ConditionCollection.cs
- WpfWebRequestHelper.cs
- ChannelToken.cs
- GraphicsState.cs
- AnnotationComponentManager.cs
- TextTreeTextNode.cs
- SafeRightsManagementSessionHandle.cs
- Profiler.cs
- CalendarDataBindingHandler.cs
- TextBoxBase.cs
- EndOfStreamException.cs
- CompilerResults.cs
- FilterRepeater.cs
- JoinTreeNode.cs
- MembershipSection.cs
- DatagridviewDisplayedBandsData.cs
- FromRequest.cs
- RequestQueue.cs
- KnownTypes.cs
- PreProcessInputEventArgs.cs
- CodeAttributeArgument.cs
- PersistencePipeline.cs
- ImmComposition.cs
- Sentence.cs
- QilScopedVisitor.cs
- NodeFunctions.cs
- GenericParameterDataContract.cs
- PropertyContainer.cs
- SecurityNegotiationException.cs
- UriScheme.cs
- Connector.cs
- RoutedUICommand.cs
- FixedSOMTable.cs
- ImageListStreamer.cs
- OutputCacheSettings.cs
- InternalSendMessage.cs
- ThreadInterruptedException.cs
- ByteAnimation.cs
- MetadataPropertyCollection.cs
- HostnameComparisonMode.cs
- UnsafeNativeMethods.cs
- EditCommandColumn.cs
- MetaTable.cs
- ChineseLunisolarCalendar.cs
- MetabaseServerConfig.cs