다음을 통해 공유


Compilation.CheckTupleElementNames 메서드

정의

이름이 제공되고 해당 번호가 예상 카디널리티와 일치하는지 확인합니다. 요소 이름의 정규화된 버전을 반환합니다(모든 이름이 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)

매개 변수

cardinality
Int32
elementNames
ImmutableArray<String>

반환

적용 대상