IVsColorizer::GetStartState Method (Int32)
Visual Studio 2015
Determines the state in which colorization of the first line of the buffer should begin.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- piStartState
-
Type:
System::Int32
[out] Pointer to a long integer that represents the start state of the colorizer.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsColorizer::GetStartState(
[out] long *piStartState
);
This method is called only if the colorizer needs state maintenance, that is, when the GetStateMaintenanceFlag method returns true.
GetStartState indicates the state in which colorization of the first line of the buffer should start.
Show: