VsDropdownBarClass Class

 

Provides control of the drop-down bar at the top of a code window.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsDropdownBarClass

[GuidAttribute("452807CC-9BFA-11D0-8C3F-00C04FC2AAE2")]
[ClassInterfaceAttribute(0)]
public class VsDropdownBarClass : IVsDropdownBar, VsDropdownBar

NameDescription
System_CAPS_pubmethodVsDropdownBarClass()

Create a new instance of a dropdown bar.

NameDescription
System_CAPS_pubmethodAttach(IntPtr, Int32, IVsDropdownBarClient)

Creates the window and drop-down combination and sets up a link between the drop-down bar and its client.

System_CAPS_pubmethodDetach()

Breaks the link between the drop-down bar and its client.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetClient(IVsDropdownBarClient)

Returns the client associated with this drop-down bar.

System_CAPS_pubmethodGetCurrentSelection(Int32, Int32)

Returns the entry that is currently selected in a given combination.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRefreshCombo(Int32, Int32)

Forces a repaint of a combo, specifying the current selection.

System_CAPS_pubmethodSetCurrentSelection(Int32, Int32)

Sets the current selection in the given drop-down combination.

System_CAPS_pubmethodToString()

(Inherited from Object.)

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

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: