TypeName.GetGenericArguments Método

Definição

Se isso TypeName representar um tipo genérico construído, retornará uma matriz de todos os argumentos genéricos. Caso contrário, retornará uma matriz vazia.

public:
 System::Collections::Immutable::ImmutableArray<System::Reflection::Metadata::TypeName ^> GetGenericArguments();
public System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.TypeName> GetGenericArguments();
member this.GetGenericArguments : unit -> System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.TypeName>
Public Function GetGenericArguments () As ImmutableArray(Of TypeName)

Retornos

Comentários

Por exemplo, dada "Cadeia de caracteres de dicionário<, int>", retorna uma matriz de dois elementos contendo cadeia de caracteres e int.

Aplica-se a