共用方式為


TokenInfo.Type Property

Definition

Determines the type of the token.

public:
 property Microsoft::VisualStudio::Package::TokenType Type { Microsoft::VisualStudio::Package::TokenType get(); void set(Microsoft::VisualStudio::Package::TokenType value); };
public:
 property Microsoft::VisualStudio::Package::TokenType Type { Microsoft::VisualStudio::Package::TokenType get(); void set(Microsoft::VisualStudio::Package::TokenType value); };
public Microsoft.VisualStudio.Package.TokenType Type { get; set; }
member this.Type : Microsoft.VisualStudio.Package.TokenType with get, set
Public Property Type As TokenType

Property Value

Returns a value from the TokenType enumeration.

Remarks

Your scanner should adhere to the meaning of the existing values in the TokenType enumeration as the default managed package framework language service classes use those values in many places. You can add additional types as necessary but use the existing types first.

Applies to