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