TypeName.GetGenericArguments Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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.