Share via


WizComboClass.SelectedItem Property

Gets the currently selected item in a wizard combo box as a string.

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

Syntax

'Declaration
Public Overridable ReadOnly Property SelectedItem As String
public virtual string SelectedItem { get; }
public:
virtual property String^ SelectedItem {
    String^ get ();
}
abstract SelectedItem : string with get 
override SelectedItem : string with get
function get SelectedItem () : String

Property Value

Type: String
The currently selected item in a wizard combo box as a string.

Implements

IWizCombo.SelectedItem

Examples

var strSelectedItem = ReturnType.SelectedItem;  
// (where ReturnType is the ID of the OBJECT tag for 
// the wizard's editabled combo control)
ReturnType.RemoveItem(2);

.NET Framework Security

See Also

Reference

WizComboClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model