IVsColorizer.GetStartState Method
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)
Syntax
'Dichiarazione
Function GetStartState ( _
<OutAttribute> ByRef piStartState As Integer _
) As Integer
int GetStartState(
out int piStartState
)
int GetStartState(
[OutAttribute] int% piStartState
)
abstract GetStartState :
piStartState:int byref -> int
function GetStartState(
piStartState : int
) : int
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.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.