Document.Tag Property
Gets or sets an object that contains data you want to save with the document.
Namespace: Microsoft.Office.Tools.Word
Assembly: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.