IVsTextEditorPropertyContainer::SetProperty Method (VSEDITPROPID, Object^)
Visual Studio 2015
Sets the specified property for the text editor.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- idProp
-
Type:
Microsoft.VisualStudio.TextManager.Interop::VSEDITPROPID
[in] Specified property to set. For a list of idprop values, see VSEDITPROPID.
- var
-
Type:
System::Object^
[in] Variant containing the property information to set.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextEditorPropertyContainer::SetProperty( [in] VSEDITPROPID idProp, [in] VARIANT var );
Show: