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)

Syntax

'Declaration
Property Tag As Object
Object Tag { get; set; }

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace