Partilhar via


Compilation.CheckTupleElementNames Método

Definição

Verifique se algum nome é fornecido e seu número corresponde à cardinalidade esperada. Retorna uma versão normalizada dos nomes dos elementos (matriz vazia se todos os nomes forem nulos).

protected:
 static System::Collections::Immutable::ImmutableArray<System::String ^> CheckTupleElementNames(int cardinality, System::Collections::Immutable::ImmutableArray<System::String ^> elementNames);
protected static System.Collections.Immutable.ImmutableArray<string> CheckTupleElementNames (int cardinality, System.Collections.Immutable.ImmutableArray<string> elementNames);
protected static System.Collections.Immutable.ImmutableArray<string?> CheckTupleElementNames (int cardinality, System.Collections.Immutable.ImmutableArray<string?> elementNames);
static member CheckTupleElementNames : int * System.Collections.Immutable.ImmutableArray<string> -> System.Collections.Immutable.ImmutableArray<string>
Protected Shared Function CheckTupleElementNames (cardinality As Integer, elementNames As ImmutableArray(Of String)) As ImmutableArray(Of String)

Parâmetros

cardinality
Int32
elementNames
ImmutableArray<String>

Retornos

Aplica-se a