Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITypeInfo2::GetVarIndexOfMemId Method (Int32, Int32%)

 

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

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void GetVarIndexOfMemId(
	int memid,
	[OutAttribute] int% pVarIndex
)

Parameters

memid
Type: System::Int32

The member identifier.

pVarIndex
Type: System::Int32%

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft