Share via


_OlkTextBox.SelText Property

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

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

Syntax

'Declaration
ReadOnly Property SelText As String
    Get
'Usage
Dim instance As _OlkTextBox
Dim value As String

value = instance.SelText
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

_OlkTextBox Interface

_OlkTextBox Members

Microsoft.Office.Interop.Outlook Namespace