Delen via


Optional<T>(T) Constructor

Definition

Constructs an Optional<T> with a meaningful value.

public:
 Optional(T value);
public Optional (T value);
new Microsoft.CodeAnalysis.Optional<'T> : 'T -> Microsoft.CodeAnalysis.Optional<'T>
Public Sub New (value As T)

Parameters

value
T

Applies to