共用方式為


EditorOptionKey<T>(String) Constructor

Definition

Initializes a new instance of EditorOptionKey<T>.

public:
 EditorOptionKey(System::String ^ name);
public:
 EditorOptionKey(Platform::String ^ name);
 EditorOptionKey(std::wstring const & name);
public EditorOptionKey (string name);
new Microsoft.VisualStudio.Text.Editor.EditorOptionKey<'T> : string -> Microsoft.VisualStudio.Text.Editor.EditorOptionKey<'T>
Public Sub New (name As String)

Parameters

name
String

The name of the option key.

Applies to