Udostępnij za pośrednictwem


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

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace