VisualBasicExtensions.Any 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Any(SyntaxTokenList, SyntaxKind) |
测试列表是否包含特定类型的标记。 |
Any(SyntaxTriviaList, SyntaxKind) |
测试列表是否包含特定类型的琐事。 |
Any<TNode>(SeparatedSyntaxList<TNode>, SyntaxKind) |
测试列表是否包含特定类型的节点。 |
Any<TNode>(SyntaxList<TNode>, SyntaxKind) |
测试列表是否包含特定类型的节点。 |
Any(SyntaxTokenList, 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
测试列表是否包含特定类型的标记。
public:
[System::Runtime::CompilerServices::Extension]
static bool Any(Microsoft::CodeAnalysis::SyntaxTokenList list, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool Any (this Microsoft.CodeAnalysis.SyntaxTokenList list, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member Any : Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function Any (list As SyntaxTokenList, kind As SyntaxKind) As Boolean
参数
- list
- SyntaxTokenList
- kind
- SyntaxKind
要 SyntaxKind 测试的。
返回
如果列表包含匹配的标记,则返回 true kind
适用于
Any(SyntaxTriviaList, 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
测试列表是否包含特定类型的琐事。
public:
[System::Runtime::CompilerServices::Extension]
static bool Any(Microsoft::CodeAnalysis::SyntaxTriviaList list, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool Any (this Microsoft.CodeAnalysis.SyntaxTriviaList list, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member Any : Microsoft.CodeAnalysis.SyntaxTriviaList * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool
<Extension()>
Public Function Any (list As SyntaxTriviaList, kind As SyntaxKind) As Boolean
参数
- list
- SyntaxTriviaList
- kind
- SyntaxKind
要 SyntaxKind 测试的。
返回
如果列表包含匹配的琐事,则返回 true kind
适用于
Any<TNode>(SeparatedSyntaxList<TNode>, 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
测试列表是否包含特定类型的节点。
public:
generic <typename TNode>
where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static bool Any(Microsoft::CodeAnalysis::SeparatedSyntaxList<TNode> list, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool Any<TNode> (this Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> list, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member Any : Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function Any(Of TNode As SyntaxNode) (list As SeparatedSyntaxList(Of TNode), kind As SyntaxKind) As Boolean
类型参数
- TNode
参数
- kind
- SyntaxKind
要 SyntaxKind 测试的。
返回
如果列表包含匹配的标记,则返回 true kind
适用于
Any<TNode>(SyntaxList<TNode>, 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
测试列表是否包含特定类型的节点。
public:
generic <typename TNode>
where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static bool Any(Microsoft::CodeAnalysis::SyntaxList<TNode> list, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static bool Any<TNode> (this Microsoft.CodeAnalysis.SyntaxList<TNode> list, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member Any : Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> bool (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function Any(Of TNode As SyntaxNode) (list As SyntaxList(Of TNode), kind As SyntaxKind) As Boolean
类型参数
- TNode
参数
- list
- SyntaxList<TNode>
- kind
- SyntaxKind
要 SyntaxKind 测试的。
返回
如果列表包含匹配的标记,则返回 true kind