Partager via


_OlkComboBox.SelText Property

Returns a String (string in C#) that represents the selected portion of the value of the combo box. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property SelText As String
    Get
'Usage
Dim instance As _OlkComboBox
Dim value As String

value = instance.SelText
[DispIdAttribute()]
string SelText { get; }

Property Value

Type: System.String

Remarks

SelText represents the current selection, which is a portion of the control's Value. The maximum number of characters that can be supported for Value is MaxLength.

The default value is an empty string.

See Also

Reference

_OlkComboBox Interface

_OlkComboBox Members

Microsoft.Office.Interop.Outlook Namespace