共用方式為


EditorOptionValue<T> Constructors

Definition

Overloads

EditorOptionValue<T>(Exception)

Initializes a new instance of the EditorOptionValue<T> class.

EditorOptionValue<T>(Object)

Initializes a new instance of the EditorOptionValue<T> class.

EditorOptionValue<T>(Exception)

Initializes a new instance of the EditorOptionValue<T> class.

public EditorOptionValue (Exception error);
new Microsoft.VisualStudio.Extensibility.Editor.EditorOptionValue<'T> : Exception -> Microsoft.VisualStudio.Extensibility.Editor.EditorOptionValue<'T>
Public Sub New (error As Exception)

Parameters

error
Exception

The error that occurred during the retrieval of the editor option value.

Applies to

EditorOptionValue<T>(Object)

Initializes a new instance of the EditorOptionValue<T> class.

public EditorOptionValue (object? value);
new Microsoft.VisualStudio.Extensibility.Editor.EditorOptionValue<'T> : obj -> Microsoft.VisualStudio.Extensibility.Editor.EditorOptionValue<'T>
Public Sub New (value As Object)

Parameters

value
Object

The value of the editor option.

Applies to