Class AlternativeEnumMemberAttribute
Similar to EnumMemberAttribute, but allows an alternative string
value to be specified for an enum field value.
Inheritance
AlternativeEnumMemberAttribute
Assembly: OpenSearch.Client.dll
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
public class AlternativeEnumMemberAttribute : Attribute
Constructors
|
Edit this page
View Source
AlternativeEnumMemberAttribute(string)
Declaration
public AlternativeEnumMemberAttribute(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Properties
|
Edit this page
View Source
Value
Declaration
public string Value { get; }
Property Value
Extension Methods