_SelectNamesDialog.ToLabel Property
Returns or sets a String (string in C#) for the text that appears on the To command button on the Select Names dialog box. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property ToLabel As String
Get
Set
'Usage
Dim instance As _SelectNamesDialog
Dim value As String
value = instance.ToLabel
instance.ToLabel = value
[DispIdAttribute()]
string ToLabel { get; set; }
Property Value
Type: System.String
Remarks
To provide an accelerator key for the recipient edit boxes, include an ampersand (&) character in the label argument string, immediately before the character that serves as the access key. For example, if ToLabel is the string "Local &Attendees", users can press ALT+A to move the focus to the first recipient edit box.
If ToLabel is not set, the default value will be the localized string for "To". If the ToLabel is set to an empty string, then the To command button shows ->. If the ToLabel property contains more than 32 characters (including the ampersand (&) access key), only the first 32 characters will be displayed in the command button.
See Also
Reference
Microsoft.Office.Interop.Outlook Namespace