StringValueAttribute Class

Definition

Caution

Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.

The StringValue attribute is used as a helper to decorate enum values with string representations.

[System.AttributeUsage(System.AttributeTargets.Field)]
[System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.")]
public sealed class StringValueAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field)>]
[<System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.")>]
type StringValueAttribute = class
    inherit Attribute
Public NotInheritable Class StringValueAttribute
Inherits Attribute
Inheritance
StringValueAttribute
Attributes

Constructors

StringValueAttribute(String)

Initializes a new instance of the StringValueAttribute class. Constructor accepting string value.

Properties

Value

Gets property for string value.

Applies to