ExtensionManager.InstantiateType<T, TProxy> Yöntem (Type)
Bir tür başlatır ve bir arabirim çevirir.
Ad alanı: Microsoft.Data.Schema.Extensibility
Derleme: Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)
Sözdizimi
'Bildirim
Public Shared Function InstantiateType(Of T As Class, TProxy As {Object, T, IExtensionProxy(Of T)}) ( _
type As Type _
) As T
public static T InstantiateType<T, TProxy>(
Type type
)
where T : class
where TProxy : Object, T, IExtensionProxy<T>
public:
generic<typename T, typename TProxy>
where T : ref class
where TProxy : Object, T, IExtensionProxy<T>
static T InstantiateType(
Type^ type
)
static member InstantiateType :
type:Type -> 'T when 'T : not struct when 'TProxy : Object and 'T and IExtensionProxy<'T>
JScript genel türleri veya yöntemleri desteklemez.
Tür Parametreleri
- T
- TProxy
Parametreler
- type
Tür: System.Type
A Type yani değil bir uzantısı.
Dönüş Değeri
Tür: T
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.