DropDownMember Class
Represents a single entry in a combo box on a drop-down bar.
This API is not CLS-compliant. The CLS-compliant alternative is [None].
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣告
<CLSCompliantAttribute(False)> _
Public Class DropDownMember _
Implements IComparable
'用途
Dim instance As DropDownMember
[CLSCompliantAttribute(false)]
public class DropDownMember : IComparable
[CLSCompliantAttribute(false)]
public ref class DropDownMember : IComparable
[<CLSCompliantAttribute(false)>]
type DropDownMember =
class
interface IComparable
end
public class DropDownMember implements IComparable
Remarks
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.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Package.DropDownMember
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.