Bewerken

Share via


ITypeInfo2.GetFuncIndexOfMemId(Int32, INVOKEKIND, Int32) Method

Definition

Binds to a specific member based on a known DISPID, where the member name is not known (for example, when binding to a default member).

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

Parameters

memid
Int32

The member identifier.

invKind
INVOKEKIND

One of the INVOKEKIND values that specifies the kind of member identified by memid.

pFuncIndex
Int32

When this method returns, contains an index into the function. This parameter is passed uninitialized.

Applies to