DropDownMember Constructor (String^, TextSpan, Int32, DROPDOWNFONTATTR)

 

Initializes a new instance of the DropDownMember class.

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

public:
DropDownMember(
	String^ label,
	TextSpan span,
	int glyph,
	DROPDOWNFONTATTR fontAttribute
)

Parameters

label
Type: System::String^

[in] A string representing the text to be shown in the combo box.

span
Type: Microsoft.VisualStudio.TextManager.Interop::TextSpan

[in] A TextSpan object that specifies the location in the source this entry represents.

glyph
Type: System::Int32

[in] An index into an image list to a glyph that is shown with this entry in the combo box.

fontAttribute
Type: Microsoft.VisualStudio.TextManager.Interop::DROPDOWNFONTATTR

[in] A collection flags from the DROPDOWNFONTATTR enumeration describing how to render the label in the combo box.

These four parameters specify everything needed by the combo box to show an entry.

Return to top
Show: