IVsColorizer::GetStartState Method (Int32)

 

Determines the state in which colorization of the first line of the buffer should begin.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetStartState(
	[OutAttribute] int% piStartState
)

Parameters

piStartState
Type: System::Int32

[out] Pointer to a long integer that represents the start state of the colorizer.

Return Value

Type: System::Int32

If 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.

Return to top
Show: