IEditorOptions.GetOptionValue<T> Method (String)
Gets the value of the option identified by the specified option ID.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Function GetOptionValue(Of T) ( _
optionId As String _
) As T
T GetOptionValue<T>(
string optionId
)
generic<typename T>
T GetOptionValue(
String^ optionId
)
abstract GetOptionValue :
optionId:string -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
The type of the value.
Parameters
optionId
Type: System.StringThe ID 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.