Share via


LocalizedDescriptionAttribute Class

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False)> _
<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState := True)> _
Public NotInheritable Class LocalizedDescriptionAttribute _
    Inherits DescriptionAttribute
'Usage
Dim instance As LocalizedDescriptionAttribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false)]
[HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)]
public sealed class LocalizedDescriptionAttribute : DescriptionAttribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false)]
[HostProtectionAttribute(SecurityAction::LinkDemand, SharedState = true)]
public ref class LocalizedDescriptionAttribute sealed : public DescriptionAttribute
public final class LocalizedDescriptionAttribute extends DescriptionAttribute

Remarks

Note

The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: SharedState. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.

Inheritance Hierarchy

System.Object
  System.Attribute
    System.ComponentModel.DescriptionAttribute
      Microsoft.VisualStudio.TestTools.Common.LocalizedDescriptionAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LocalizedDescriptionAttribute Members

Microsoft.VisualStudio.TestTools.Common Namespace