Skip to content

EnumKeyAttribute constructor (1 of 2)

Initializes a new instance of the EnumKeyAttribute class with the key inferred from module attribute, if available and namespace.

public EnumKeyAttribute()

See Also


EnumKeyAttribute constructor (2 of 2)

Initializes a new instance of the EnumKeyAttribute class with the specified key.

public EnumKeyAttribute(string value)
parameter description
value

Exceptions

exception condition
ArgumentNullException

See Also