Uredi

Deli z drugimi prek


TypeDescriptor.RegisterType<T> Method

Definition

Registers the type so it can be used by reflection-based providers in trimmed applications.

public:
generic <typename T>
 static void RegisterType();
public static void RegisterType<T> ();
static member RegisterType : unit -> unit
Public Shared Sub RegisterType(Of T) ()

Type Parameters

T

The type to register.

Applies to