_Presentation.TemplateName Property

Returns the name of the design template associated with the specified presentation. Read-only.

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

Syntax

'Declaration
ReadOnly Property TemplateName As String
    Get
'Usage
Dim instance As _Presentation
Dim value As String

value = instance.TemplateName
string TemplateName { get; }

Property Value

Type: System.String

Remarks

The returned string includes the MS-DOS file name extension (for file types that are registered) but doesn't include the full path.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace