IEditorOptions::SetOptionValue Method (String^, Object^)

 

Sets the value of the specified option in the current scope.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

void SetOptionValue(
	String^ optionId,
	Object^ value
)

Parameters

optionId
Type: System::String^

The ID of the option.

value
Type: System::Object^

The new value of the option.

If the given option is not applicable in the current scope, it attempts to set the option in the global scope.

Return to top
Show: