संपादित करें

इसके माध्यम से साझा किया गया


ITypeInfo.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.

Remarks

For more information, see ITypeInfo::AddressOfMember method.

Applies to