IVsColorizer.GetStartState(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the state in which colorization of the first line of the buffer should begin.
public:
int GetStartState([Runtime::InteropServices::Out] int % piStartState);
int GetStartState([Runtime::InteropServices::Out] int & piStartState);
public int GetStartState (out int piStartState);
abstract member GetStartState : int -> int
Public Function GetStartState (ByRef piStartState As Integer) As Integer
Parameters
- piStartState
- Int32
[out] Pointer to a long integer that represents the start state of the colorizer.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.