VisualBasicCompilation.ContainsSymbolsWithName 方法

定义

重载

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

如果源声明符号名称与提供的名称匹配,则返回 true。 这可能比ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)谓词只是一个简单的字符串检查更快。 name 不区分大小写。

ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)

如果源声明符号名称符合给定谓词,则返回 true。

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb

如果源声明符号名称与提供的名称匹配,则返回 true。 这可能比ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)谓词只是一个简单的字符串检查更快。 name 不区分大小写。

public override bool ContainsSymbolsWithName (string name, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
override this.ContainsSymbolsWithName : string * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> bool
Public Overrides Function ContainsSymbolsWithName (name As String, Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As Boolean

参数

name
String
filter
SymbolFilter
cancellationToken
CancellationToken

返回

适用于

ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)

Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb

如果源声明符号名称符合给定谓词,则返回 true。

public override bool ContainsSymbolsWithName (Func<string,bool> predicate, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
override this.ContainsSymbolsWithName : Func<string, bool> * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> bool
Public Overrides Function ContainsSymbolsWithName (predicate As Func(Of String, Boolean), Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As Boolean

参数

predicate
Func<String,Boolean>
filter
SymbolFilter
cancellationToken
CancellationToken

返回

适用于