Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Document.Tag Property

Gets or sets an object that contains data you want to save with the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Object Tag { get; set; }

Property Value

Type: System.Object
A object that contains data you want to save with the document.

You can use the Tag property to store data that is closely associated with the document.

Show:
© 2015 Microsoft