Retrieves the name of a member.

HRESULT GetMemberName(
   DISPID id,
   BSTR *pbstrName
);

Parameters

id

Identifies the member. Uses GetDispID or GetNextDispID to obtain the dispatch identifier.

pbstrName

Address of a BSTR that receives the name of the member. The calling application is responsible for freeing this value.

Expand imageReturn Value

Expand imageExample

Expand imageSee Also