TypeName.GetGenericArguments Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Se isto TypeName representa um tipo genérico construído, devolve um array de todos os argumentos genéricos. Caso contrário, devolve um array vazio.
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)
Devoluções
Observações
Por exemplo, dado "Dictionary<string, int>", devolve um array de 2 elementos contendo string e int.