Share via


_Document.AttachedTemplate Property

Returns a Template object that represents the template attached to the specified document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property AttachedTemplate As Object
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Object

value = instance.AttachedTemplate

instance.AttachedTemplate = value
Object AttachedTemplate { get; set; }

Property Value

Type: System.Object

Remarks

To set this property, specify either the name of the template or an expression that returns a Template object.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace