共用方式為


IEditorOptionValue.Value<T> Method

Definition

Gets the value converted to the type T.

public T Value<T> ();
abstract member Value : unit -> 'T
Public Function Value(Of T) () As T

Type Parameters

T

The expected type of the editor option.

Returns

T

The value converted to the type T.

Exceptions

The conversion of the value to T is not supported.

The value represents a number that is out of the range of T.

The editor option doesn't exist.

Applies to