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
Get
public virtual string SelectedItem { get; }
public:
virtual property String^ SelectedItem {
String^ get ();
}
abstract SelectedItem : string
override SelectedItem : string
function get SelectedItem () : String
Property Value
Type: System.String
The currently selected item in a wizard combo box as a string.
Implements
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.VsWizard Namespace