Partager via


TypeAndMemberDropdownBars.GetMember(Int32, Int32) Method

Definition

Returns the specified entry for the specified combo box.

public:
 Microsoft::VisualStudio::Package::DropDownMember ^ GetMember(int combo, int entry);
public Microsoft.VisualStudio.Package.DropDownMember GetMember (int combo, int entry);
member this.GetMember : int * int -> Microsoft.VisualStudio.Package.DropDownMember
Public Function GetMember (combo As Integer, entry As Integer) As DropDownMember

Parameters

combo
Int32

[in] The ID of the combo box (0 for the types combo box, 1 for the members combo box).

entry
Int32

[in] The index of the entry to get.

Returns

If successful, returns a DropDownMember object describing the request entry; otherwise, returns null.

Remarks

This helper method retrieves the requested entry from the appropriate list that manages the entries for a combo box. Since the lists are private to the base class, a derived class must use this method to access any entry associated with a combo box.

Applies to