共用方式為


DropDownMember Members

Include Protected Members
Include Inherited Members

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

The DropDownMember type exposes the following members.

Constructors

  Name Description
Public method DropDownMember Initializes a new instance of the DropDownMember class.

Top

Methods

  Name Description
Public method CompareTo(Object) Compares this object to the specified object.
Public method CompareTo(Object, StringComparison) Compares one CompareTo to another with the given string comparison.
Public method Equals Determines whether this object equals the specified object. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns a hash code value for this DropDownMember object. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines if two DropDownMember objects are equal.
Public operatorStatic member GreaterThan Determines whether the first DropDownMember is greater than the second DropDownMember.
Public operatorStatic member Inequality Determines if two DropDownMember objects are not equal.
Public operatorStatic member LessThan Determines whether the first DropDownMember object is less than the second DropDownMember object.

Top

Properties

  Name Description
Public property FontAttr Gets or sets the font attributes to use for rendering the entry's text.
Public property Glyph Gets or sets the image index to associate with the entry's text.
Public property Label Gets or sets the text to be displayed.
Public property Span Gets or sets the text span in the source file that corresponds to the entry's text.

Top

See Also

Reference

DropDownMember Class

Microsoft.VisualStudio.Package Namespace