Show / Hide Table of Contents

GetByKeyType Method

GetByKeyType(KeyType)

Gets a key definition by its type.

C#
public static KeyDefinition GetByKeyType(KeyType type)

Parameters

Type Name Description
KeyType type

The type of the key.

Returns

KeyDefinition

The key definition for the specified key type.

Exceptions

Type Condition
InvalidOperationException

When the key type is not supported.

In this article
Back to top Generated by DocFX