共用方式為


Optional<T>.Implicit(T to Optional<T>) Operator

Definition

public:
 static operator Microsoft::CodeAnalysis::Optional<T>(T value);
public static implicit operator Microsoft.CodeAnalysis.Optional<T> (T value);
static member op_Implicit : 'T -> Microsoft.CodeAnalysis.Optional<'T>
Public Shared Widening Operator CType (value As T) As Optional(Of T)

Parameters

value
T

Returns

Applies to