Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the ParseRequest class.
Namespace: Microsoft.VisualStudio.Package
Assemblies: 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)
Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
line As Integer, _
col As Integer, _
info As TokenInfo, _
src As String, _
fname As String, _
reason As ParseReason, _
view As IVsTextView, _
sink As AuthoringSink, _
synchronous As Boolean _
)
public ParseRequest(
int line,
int col,
TokenInfo info,
string src,
string fname,
ParseReason reason,
IVsTextView view,
AuthoringSink sink,
bool synchronous
)
public:
ParseRequest(
int line,
int col,
TokenInfo^ info,
String^ src,
String^ fname,
ParseReason reason,
IVsTextView^ view,
AuthoringSink^ sink,
bool synchronous
)
new :
line:int *
col:int *
info:TokenInfo *
src:string *
fname:string *
reason:ParseReason *
view:IVsTextView *
sink:AuthoringSink *
synchronous:bool -> ParseRequest
public function ParseRequest(
line : int,
col : int,
info : TokenInfo,
src : String,
fname : String,
reason : ParseReason,
view : IVsTextView,
sink : AuthoringSink,
synchronous : boolean
)
Parameters
line
Type: Int32The line on which to start the parsing operation.
col
Type: Int32The character offset on the first line to begin the parsing operation.
info
Type: Microsoft.VisualStudio.Package.TokenInfoThe object that is to be filled with the results of the parsing operation.
src
Type: StringThe text to be parsed.
fname
Type: StringThe name of the source file to be parsed.
reason
Type: Microsoft.VisualStudio.Package.ParseReasonThe reason the parsing operation was started.
view
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextViewThe view that contains the source file that is being parsed.
sink
Type: Microsoft.VisualStudio.Package.AuthoringSinkThe object used to contain information from the parsing operation.
synchronous
Type: Booleantrue if the request is synchronous, false if it is asynchronous.
.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.