Class LocalizedDescriptionAttribute
Sets a localized custom name to describe this element.
Implements
Inherited Members
Namespace: TheXDS.MCART.Attributes
Assembly: MCART.dll
Syntax
[AttributeUsage(AttributeTargets.All)]
[Serializable]
public sealed class LocalizedDescriptionAttribute : DescriptionAttribute, IValueAttribute<string>
Constructors
| Edit this page View SourceLocalizedDescriptionAttribute(string, Type)
Sets a localized custom name to describe this element.
Declaration
public LocalizedDescriptionAttribute(string stringId, Type resourceType)
Parameters
Type | Name | Description |
---|---|---|
string | stringId | Id of the string to localize. |
Type | resourceType | Type that contains the localization information to use. |
Properties
| Edit this page View SourceDescription
Gets the description stored in this attribute.
Declaration
public override string Description { get; }
Property Value
Type | Description |
---|---|
string | The description stored in this attribute. |