Compilation.CheckTupleElementNames Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check that if any names are provided, and their number matches the expected cardinality. Returns a normalized version of the element names (empty array if all the names are 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)
Parameters
- cardinality
- Int32
- elementNames
- ImmutableArray<String>
Returns
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.