Table of Contents

Class StringEnumValueAttribute

Namespace
WebDriverBiDi
Assembly
WebDriverBiDi.dll

Marks a specific enumerated value with its string representation.

[AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
public sealed class StringEnumValueAttribute : Attribute
Inheritance
StringEnumValueAttribute
Inherited Members

Constructors

StringEnumValueAttribute(string)

Initializes a new instance of the StringEnumValueAttribute class.

public StringEnumValueAttribute(string enumValue)

Parameters

enumValue string

The string representation of the enumerated value.

Properties

Value

Gets the value to use in converting the enumerated value to and from a string.

public string Value { get; }

Property Value

string