Compartilhar via


VisualBasicCompilation.ContainsSymbolsWithName Método

Definição

Sobrecargas

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

Retornará true se houver um nome de símbolo de declaração de origem que corresponda ao nome fornecido. Isso pode ser mais rápido do que ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) quando o predicado é apenas uma cadeia de caracteres simples marcar. name não diferencia maiúsculas e minúsculas.

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

Retornará true se houver um nome de símbolo de declaração de origem que atenda ao predicado fornecido.

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

Retornará true se houver um nome de símbolo de declaração de origem que corresponda ao nome fornecido. Isso pode ser mais rápido do que ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) quando o predicado é apenas uma cadeia de caracteres simples marcar. name não diferencia maiúsculas e minúsculas.

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

Parâmetros

name
String
filter
SymbolFilter
cancellationToken
CancellationToken

Retornos

Aplica-se a

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

Retornará true se houver um nome de símbolo de declaração de origem que atenda ao predicado fornecido.

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

Parâmetros

predicate
Func<String,Boolean>
filter
SymbolFilter
cancellationToken
CancellationToken

Retornos

Aplica-se a