Szerkesztés

Megosztás a következőn keresztül:


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

Parameters

memid
Int32

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

invKind
INVOKEKIND

Specifies whether the member is a property, and if so, what kind.

ppv
IntPtr

nativeint

On successful return, a reference to the static member.

Remarks

For additional information about ITypeInfo::AddressOfMember, see the MSDN Library.

Applies to