다음을 통해 공유


ParseRequest.Callback Property

Specifies the callback delegate to be called when the parsing operation has completed.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   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.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

‘선언
Public Property Callback As ParseResultHandler
    Get
    Set
‘사용 방법
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);
}
member Callback : ParseResultHandler with get, set
function get Callback () : ParseResultHandler
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.

.NET Framework Security

See Also

Reference

ParseRequest Class

ParseRequest Members

Microsoft.VisualStudio.Package Namespace