MailingLabel.DefaultLabelName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the name for the default mailing label.
public:
property System::String ^ DefaultLabelName { System::String ^ get(); void set(System::String ^ value); };
public string DefaultLabelName { get; set; }
member this.DefaultLabelName : string with get, set
Public Property DefaultLabelName As String
Property Value
Remarks
To find the string for the specified built-in label, select the label in the Label Options dialog box (Tools menu, Envelopes and Labels dialog box, Labels tab, Options button). Then click Details and look at the Label name box, which contains the correct string to use for this property. To set a custom label as the default mailing label, use the label name that appears in the Details dialog box, or use the Name property with a CustomLabel object.
Creating a new label document from a CustomLabel object automatically sets the DefaultLabelName property to the name of the CustomLabel object.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應