Share via


_OlkComboBox.Text Property

Returns or sets a String (string in C#) that is the text displayed in the control. Read/write.

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

Syntax

'Declaration
Property Text As String
    Get
    Set
'Usage
Dim instance As _OlkComboBox
Dim value As String

value = instance.Text

instance.Text = value
string Text { get; set; }

Property Value

Type: System.String

Remarks

The default value of the Text property is the empty string.

The Text property provides the same value as the Value property, but the value is strongly typed as a String (string in C#).

See Also

Reference

_OlkComboBox Interface

_OlkComboBox Members

Microsoft.Office.Interop.Outlook Namespace