_Activator Interfejs

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Uwidacznia Activator klasę dla kodu niezaimażowego.

public interface class _Activator
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("03973551-57A1-3900-A2B5-9083E3FF2943")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _Activator
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("03973551-57A1-3900-A2B5-9083E3FF2943")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _Activator
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("03973551-57A1-3900-A2B5-9083E3FF2943")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _Activator = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("03973551-57A1-3900-A2B5-9083E3FF2943")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _Activator = interface
Public Interface _Activator
Pochodne
Atrybuty

Uwagi

Ten interfejs umożliwia dostęp do klas zarządzanych z kodu nieza zarządzaniem i nie powinien być wywoływany z kodu zarządzanego.

Metody

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Zestaw nazw jest mapowany na odpowiedni zestaw identyfikatorów wysyłania.

GetTypeInfo(UInt32, UInt32, IntPtr)

Pobiera informacje o typie dla obiektu, które mogą służyć do pobierania informacji o typie dla interfejsu.

GetTypeInfoCount(UInt32)

Pobiera informację o liczbie typów interfejsów, jakie zawiera obiekt (0 lub 1).

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Umożliwia dostęp do właściwości i metod udostępnianych przez obiekt.

Dotyczy