Bewerken

Share via


ITypeInfo2.GetVarIndexOfMemId(Int32, 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 GetVarIndexOfMemId(int memid, [Runtime::InteropServices::Out] int % pVarIndex);
public void GetVarIndexOfMemId (int memid, out int pVarIndex);
abstract member GetVarIndexOfMemId : int * int -> unit
Public Sub GetVarIndexOfMemId (memid As Integer, ByRef pVarIndex As Integer)

Parameters

memid
Int32

The member identifier.

pVarIndex
Int32

When this method returns, contains an index of memid. This parameter is passed uninitialized.

Applies to