共用方式為


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

傳回

適用於