DropDownMember Class

 
clsCompliantAlternativeNone

Represents a single entry in a combo box on a drop-down bar.

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

System.Object
  Microsoft.VisualStudio.Package.DropDownMember

[CLSCompliantAttribute(false)]
public class DropDownMember : IComparable

NameDescription
System_CAPS_pubmethodDropDownMember(String, TextSpan, Int32, DROPDOWNFONTATTR)

Initializes a new instance of the DropDownMember class.

NameDescription
System_CAPS_pubpropertyFontAttr

Gets or sets the font attributes to use for rendering the entry's text.

System_CAPS_pubpropertyGlyph

Gets or sets the image index to associate with the entry's text.

System_CAPS_pubpropertyLabel

Gets or sets the text to be displayed.

System_CAPS_pubpropertySpan

Gets or sets the text span in the source file that corresponds to the entry's text.

NameDescription
System_CAPS_pubmethodCompareTo(Object)

Compares this object to the specified object.

System_CAPS_pubmethodCompareTo(Object, StringComparison)

Compares one CompareTo to another with the given string comparison.

System_CAPS_pubmethodEquals(Object)

Determines whether this object equals the specified object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns a hash code value for this DropDownMember object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(DropDownMember, DropDownMember)

Determines if two DropDownMember objects are equal.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(DropDownMember, DropDownMember)

Determines whether the first DropDownMember is greater than the second DropDownMember.

System_CAPS_puboperatorSystem_CAPS_staticInequality(DropDownMember, DropDownMember)

Determines if two DropDownMember objects are not equal.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(DropDownMember, DropDownMember)

Determines whether the first DropDownMember object is less than the second DropDownMember object.

This class is used by the TypeAndMemberDropdownBars class to represent entries on the combo boxes shown on an IVsDropdownBar object.

Notes to Implementers:

This class is self-contained and does not need to be derived from.

Notes to Callers:

This class is instantiated in your implementation of the OnSynchronizeDropdowns method in your derived version of the TypeAndMemberDropdownBars class. The base TypeAndMemberDropdownBars class contains two ArrayLists that hold DropDownMember classes, one for each entry to be shown in the combo boxes.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: