Colorizer.GetStartState Method
Returns the initial parsing state.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaração
Public Overridable Function GetStartState ( _
<OutAttribute> ByRef start As Integer _
) As Integer
public virtual int GetStartState(
out 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.
Implements
IVsColorizer.GetStartState(Int32%)
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.
.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.