Colorizer::GetStartState Method (Int32)

 

Returns the initial parsing state.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int GetStartState(
	[OutAttribute] int% start
)

Parameters

start
Type: System::Int32

[out] Returns the initial parsing state.

Return Value

Type: System::Int32

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

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.

Return to top
Show: