CrypterOptions.GetValue(T) Method (CrypterOptionKey)

CryptSharp

CrypterOptionsGetValueT Method (CrypterOptionKey) CryptSharp
Gets the value of an option, if the option is set, or a default value otherwise.

Namespace: CryptSharp
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax

public T GetValue<T>(
	CrypterOptionKey key
)
Public Function GetValue(Of T) ( 
	key As CrypterOptionKey
) As T
public:
generic<typename T>
T GetValue(
	CrypterOptionKey^ key
)
member GetValue : 
        key : CrypterOptionKey -> 'T 

Parameters

key
Type: CryptSharpCrypterOptionKey
The key of the option.

Type Parameters

T
The type of the option's value.

Return Value

Type: T
The option's value.
See Also

Reference