_OlkListBox.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
<DispIdAttribute()> _
Property Text As String
    Get
    Set
'Usage
Dim instance As _OlkListBox
Dim value As String

value = instance.Text

instance.Text = value
[DispIdAttribute()]
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

_OlkListBox Interface

_OlkListBox Members

Microsoft.Office.Interop.Outlook Namespace