GetByKeyType Method
GetByKeyType(KeyType)
Gets a key definition by its type.
C#
public static KeyDefinition GetByKeyType(KeyType type)
Parameters
Type | Name | Description |
---|---|---|
Key |
type | The type of the key. |
Returns
The key definition for the specified key type.
Exceptions
Type | Condition |
---|---|
Invalid |
When the key type is not supported. |