IEditorOptions.GetOptionValue Method (String)
Gets the value of the option specified by the option ID.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaración
Function GetOptionValue ( _
optionId As String _
) As Object
Object GetOptionValue(
string optionId
)
Object^ GetOptionValue(
String^ optionId
)
abstract GetOptionValue :
optionId:string -> Object
function GetOptionValue(
optionId : String
) : Object
Parameters
- optionId
Type: System.String
The ID of the option.
Return Value
Type: System.Object
The current value of the option, as an object. The caller is responsible for casting the object to the correct type.
.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.