Colorizer.GetStartState(Int32) Method

Definition

Returns the initial parsing state.

public:
 virtual int GetStartState([Runtime::InteropServices::Out] int % start);
 virtual int GetStartState([Runtime::InteropServices::Out] int & start);
public virtual int GetStartState (out int start);
abstract member GetStartState : int -> int
override this.GetStartState : int -> int
Public Overridable Function GetStartState (ByRef start As Integer) As Integer

Parameters

start
Int32

[out] Returns the initial parsing state.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Remarks

This method returns the initial parsing state, which could be obtained from the IScanner object. This state is passed into and out of the parser through various methods but it is the parser that maintains the actual value.

This method is an implementation of GetStartState.

The base method always returns 0.

Applies to