VisualBasicExtensions.IsKind 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
IsKind(SyntaxNode, SyntaxKind) |
判斷是否 SyntaxNode 為指定的種類。 |
IsKind(SyntaxNodeOrToken, SyntaxKind) |
判斷是否 SyntaxNodeOrToken 為指定的種類。 |
IsKind(SyntaxToken, SyntaxKind) |
判斷是否 SyntaxToken 為指定的種類。 |
IsKind(SyntaxTrivia, SyntaxKind) |
判斷是否 SyntaxTrivia 為指定的種類。 |
IsKind(SyntaxNode, SyntaxKind)
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
判斷是否 SyntaxNode 為指定的種類。
public:
[System::Runtime::CompilerServices::Extension]
static bool IsKind(Microsoft::CodeAnalysis::SyntaxNode ^ node, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function IsKind (node As SyntaxNode, kind As SyntaxKind) As Boolean
參數
- node
- SyntaxNode
[來源] 節點。
- kind
- SyntaxKind
要測試的語法種類。
傳回
true
如果節點為指定種類,則為 ;否則為 false
。
適用於
IsKind(SyntaxNodeOrToken, SyntaxKind)
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
判斷是否 SyntaxNodeOrToken 為指定的種類。
public:
[System::Runtime::CompilerServices::Extension]
static bool IsKind(Microsoft::CodeAnalysis::SyntaxNodeOrToken nodeOrToken, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxNodeOrToken * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function IsKind (nodeOrToken As SyntaxNodeOrToken, kind As SyntaxKind) As Boolean
參數
- nodeOrToken
- SyntaxNodeOrToken
來源節點或權杖。
- kind
- SyntaxKind
要測試的語法種類。
傳回
true
如果節點或權杖是指定種類,則為 ;否則為 false
。
適用於
IsKind(SyntaxToken, SyntaxKind)
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
判斷是否 SyntaxToken 為指定的種類。
public:
[System::Runtime::CompilerServices::Extension]
static bool IsKind(Microsoft::CodeAnalysis::SyntaxToken token, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function IsKind (token As SyntaxToken, kind As SyntaxKind) As Boolean
參數
- token
- SyntaxToken
來源權杖。
- kind
- SyntaxKind
要測試的語法種類。
傳回
true
如果權杖是指定種類,則為 ;否則為 false
。
適用於
IsKind(SyntaxTrivia, SyntaxKind)
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
- Source:
- VisualBasicExtensions.vb
判斷是否 SyntaxTrivia 為指定的種類。
public:
[System::Runtime::CompilerServices::Extension]
static bool IsKind(Microsoft::CodeAnalysis::SyntaxTrivia trivia, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxTrivia trivia, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxTrivia * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function IsKind (trivia As SyntaxTrivia, kind As SyntaxKind) As Boolean
參數
- trivia
- SyntaxTrivia
來源 Trivia。
- kind
- SyntaxKind
要測試的語法種類。
傳回
true
如果 Trivia 是指定種類,則為 ;否則為 false
。