Partager via


_SelectNamesDialog.CcLabel Property

Returns or sets a String (string in C#) for the text that appears on the Cc 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 CcLabel As String
    Get
    Set
'Usage
Dim instance As _SelectNamesDialog
Dim value As String

value = instance.CcLabel

instance.CcLabel = value
[DispIdAttribute()]
string CcLabel { 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 CcLabel is the string "Local &Attendees", users can press ALT+A to move the focus to the first recipient edit box.

If CcLabel is not set, then the default value will be the localized string for "Cc". If the CcLabel is set to an empty string, then the Cc command button shows ->. If the CcLabel 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

_SelectNamesDialog Interface

_SelectNamesDialog Members

Microsoft.Office.Interop.Outlook Namespace