DocumentBase.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.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Public Property Tag As Object
Get
Set
public 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.