共用方式為


IEditorOptions.GetOptionValue Method

Include Protected Members
Include Inherited Members

Gets the value of the option.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetOptionValue<T>(String) Gets the value of the option identified by the specified option ID.
Public method GetOptionValue(String) Gets the value of the option specified by the option ID.
Public method GetOptionValue<T>(EditorOptionKey<T>) Gets the value of the option identified by the specified key.

Top

See Also

Reference

IEditorOptions Interface

Microsoft.VisualStudio.Text.Editor Namespace