Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Tag Property

GroupContentControl.Tag Property

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

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

string Tag { get; set; }

Property Value

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

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

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

Show:
© 2015 Microsoft