TypeAndMemberDropdownBars::GetMember Method (Int32, Int32)

 

Returns the specified entry for the specified combo box.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
DropDownMember^ GetMember(
	int combo,
	int entry
)

Parameters

combo
Type: System::Int32

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

entry
Type: System::Int32

[in] The index of the entry to get.

Return Value

Type: Microsoft.VisualStudio.Package::DropDownMember^

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

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.

Return to top
Show: