_AssemblyName 介面

定義

重要

此 API 不符合 CLS 規範。

AssemblyName 類別公開到 Unmanaged 程式碼。

C#
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("B42B6AAC-317E-34D5-9FA9-093BB4160C50")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _AssemblyName
C#
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("B42B6AAC-317E-34D5-9FA9-093BB4160C50")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _AssemblyName
衍生
屬性

備註

此介面適用於從 Unmanaged 程式代碼存取 Managed 類別,不應從 Managed 程式代碼呼叫。

方法

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

將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。

GetTypeInfo(UInt32, UInt32, IntPtr)

擷取物件的類型資訊,可以用來取得介面的類型資訊。

GetTypeInfoCount(UInt32)

擷取物件提供的類型資訊介面數目 (0 或 1)。

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

提供物件所公開的屬性和方法的存取權。

適用於

產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1