แก้ไข

แชร์ผ่าน


ITypeInfo2.AddressOfMember(Int32, INVOKEKIND, IntPtr) Method

Definition

Retrieves the addresses of static functions or variables, such as those defined in a DLL.

public:
 void AddressOfMember(int memid, System::Runtime::InteropServices::ComTypes::INVOKEKIND invKind, [Runtime::InteropServices::Out] IntPtr % ppv);
public void AddressOfMember (int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out IntPtr ppv);
abstract member AddressOfMember : int * System.Runtime.InteropServices.ComTypes.INVOKEKIND * nativeint -> unit
Public Sub AddressOfMember (memid As Integer, invKind As INVOKEKIND, ByRef ppv As IntPtr)

Parameters

memid
Int32

The member ID of the static member's address to retrieve.

invKind
INVOKEKIND

One of the INVOKEKIND values that specifies whether the member is a property, and if so, what kind.

ppv
IntPtr

nativeint

When this method returns, contains a reference to the static member. This parameter is passed uninitialized.

Implements

Remarks

For more information, see AddressOfMember method.

Applies to