Show / Hide Table of Contents

Cast Method

Cast<T>(IPrivateKey)

Casts the key to the specified type.

C#
public static T Cast<T>(this IPrivateKey key) where T : class, IPrivateKey

Parameters

Type Name Description
IPrivateKey key

Returns

T

Type Parameters

Name Description
T

Exceptions

Type Condition
InvalidCastException
In this article
Back to top Generated by DocFX