_Attribute Interfejs

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Uwidacznia klasę Attribute jako niezarządzany kod.

public interface class _Attribute
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _Attribute
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _Attribute
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _Attribute = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _Attribute = interface
Public Interface _Attribute
Pochodne
Atrybuty

Uwagi

Ten interfejs służy do uzyskiwania dostępu do klas zarządzanych z niezarządzanego kodu 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óry może 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