Specifies the callback delegate to be called when the parsing operation has completed.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Property Callback As ParseResultHandler
'使用
Dim instance As ParseRequest
Dim value As ParseResultHandler
value = instance.Callback
instance.Callback = value
public ParseResultHandler Callback { get; set; }
public:
property ParseResultHandler^ Callback {
ParseResultHandler^ get ();
void set (ParseResultHandler^ value);
}
public function get Callback () : ParseResultHandler
public function set Callback (value : ParseResultHandler)
Property Value
Type: Microsoft.VisualStudio.Package.ParseResultHandler
Returns a ParseResultHandler delegate.
Remarks
This property is assigned to after the ParseRequest object has been created by a call to CreateParseRequest. If this property returns null, then no call back is required.
BeginParse in the LanguageService class sets this property just before it starts the parsing operation.
Permissions
- 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.