共用方式為


DatePickerContentControl.Tag Property

Gets or sets a string that you want to associate with the DatePickerContentControl.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property Tag As String
string Tag { get; set; }

Property Value

Type: System.String
A string that you want to associate with the DatePickerContentControl.

Remarks

You can use the Tag property to store a string that is associated with the DatePickerContentControl while the document is open.

To find a content control by its tag, use the SelectContentControlsByTag method.

.NET Framework Security

See Also

Reference

DatePickerContentControl Interface

Microsoft.Office.Tools.Word Namespace