Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the value of the option identified by the specified key.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Function GetOptionValue(Of T) ( _
key As EditorOptionKey(Of T) _
) As T
T GetOptionValue<T>(
EditorOptionKey<T> key
)
generic<typename T>
T GetOptionValue(
EditorOptionKey<T> key
)
abstract GetOptionValue :
key:EditorOptionKey<'T> -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
The type of the value.
Parameters
- key
Type: Microsoft.VisualStudio.Text.Editor.EditorOptionKey<T>
The key of the option.
Return Value
Type: T
The current value of the option.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.