Compartir a través de


Compilation.CheckTupleElementNames Método

Definición

Compruebe que si se proporcionan nombres y su número coincide con la cardinalidad esperada. Devuelve una versión normalizada de los nombres de elemento (matriz vacía si todos los nombres son null).

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>

Devoluciones

Se aplica a