Returns the reason the parse operation was started.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public ReadOnly Property Reason As ParseReason
'使用
Dim instance As AuthoringSink
Dim value As ParseReason
value = instance.Reason
public ParseReason Reason { get; }
public:
property ParseReason Reason {
ParseReason get ();
}
public 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).
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.