IntrospectionExtensions.GetTypeInfo(Type) Metod

Definition

Returnerar representationen TypeInfo av den angivna typen.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Reflection::TypeInfo ^ GetTypeInfo(Type ^ type);
public static System.Reflection.TypeInfo GetTypeInfo(this Type type);
static member GetTypeInfo : Type -> System.Reflection.TypeInfo
<Extension()>
Public Function GetTypeInfo (type As Type) As TypeInfo

Parametrar

type
Type

Den typ som ska konverteras.

Returer

Det konverterade objektet.

Kommentarer

Om du hämtar ett TypeInfo objekt läses alltid typen in.

Gäller för