Class DescriptionAttribute
An attribute placed on enum values to provide a user friendly description of the enum value.
Inherited Members
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class DescriptionAttribute : PropertyAttribute
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 |