Freigeben über


AuthoringSink.Reason Property

Returns the reason the parse operation was started.

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

Syntax

'Declaration
Public ReadOnly Property Reason As ParseReason
    Get
'Usage
Dim instance As AuthoringSink
Dim value As ParseReason

value = instance.Reason
public ParseReason Reason { get; }
public:
property ParseReason Reason {
    ParseReason get ();
}
member Reason : ParseReason
function get Reason () : ParseReason

Property Value

Type: Microsoft.VisualStudio.Package.ParseReason
Returns a value from the ParseReason enumeration.

Remarks

This property provides an alternative way for the parser to access the parsing reason (the other way is through the ParseRequest structure itself).

.NET Framework Security

See Also

Reference

AuthoringSink Class

AuthoringSink Members

Microsoft.VisualStudio.Package Namespace