Class DescriptionAttribute
An attribute placed on enum values to provide a user friendly description of the enum value.
Inherited Members
Namespace: Unity.LiveCapture
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class DescriptionAttribute : PropertyAttribute, _Attribute
Constructors
DescriptionAttribute(String)
Creates a new DescriptionAttribute instance.
Declaration
public DescriptionAttribute(string description)
Parameters
| Type | Name | Description |
|---|---|---|
| String | description | The description of the enum value |
Fields
Description
The description of the enum value.
Declaration
public readonly string Description
Field Value
| Type | Description |
|---|---|
| String |