共用方式為


WizComboClass Class

Controls combo boxes of HTML-based wizards in Visual Studio.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.VsWizard.WizComboClass

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'宣告
<GuidAttribute("19DB9A07-5CA3-461E-9E7B-B370C91ABA2E")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class WizComboClass _
    Implements IWizCombo, WizCombo, _IDispWizComboEvents_Event
[GuidAttribute("19DB9A07-5CA3-461E-9E7B-B370C91ABA2E")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class WizComboClass : IWizCombo, 
    WizCombo, _IDispWizComboEvents_Event
[GuidAttribute(L"19DB9A07-5CA3-461E-9E7B-B370C91ABA2E")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class WizComboClass : IWizCombo, 
    WizCombo, _IDispWizComboEvents_Event
[<GuidAttribute("19DB9A07-5CA3-461E-9E7B-B370C91ABA2E")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type WizComboClass =  
    class
        interface IWizCombo
        interface WizCombo
        interface _IDispWizComboEvents_Event
    end
public class WizComboClass implements IWizCombo, WizCombo, _IDispWizComboEvents_Event

The WizComboClass type exposes the following members.

Constructors

  Name Description
Public method WizComboClass Infrastructure. Microsoft Internal Use Only.

Top

Properties

  Name Description
Public property Count Gets a count of the items in the specified wizard combo box.
Public property Enabled Gets or sets a value indicating the enabled state of the WizCombo object.
Public property item Gets the index of the item in the specified wizard combo box.
Public property ListIndex Gets or sets the item's list index in the specified wizard combo box.
Public property SelectedItem Gets the currently selected item in a wizard combo box as a string.
Public property Value Gets or sets the data for the object.

Top

Methods

  Name Description
Public method add_Change Infrastructure. Microsoft Internal Use Only.
Public method add_KeyDown Infrastructure. Microsoft Internal Use Only.
Public method AddItem Adds the specified item to the wizard combo box.
Public method Clear Clears all text from the object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method focus Sets the cursor focus to the wizard combo box.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InsertItem Inserts the specified item at the specified location in the wizard combo box.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method remove_Change Infrastructure. Microsoft Internal Use Only.
Public method remove_KeyDown Infrastructure. Microsoft Internal Use Only.
Public method RemoveItem Removes the specified item from the wizard combo box.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event Change Indicates that the selection in the specified wizard combo box has changed.
Public event KeyDown Indicates that the specified key is pressed.

Top

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.

See Also

Reference

Microsoft.VisualStudio.VsWizard Namespace