Freigeben über


_Presentation.Path Property

Returns a value that represents the path to the specified Presentation object. Read-only.

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

Syntax

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

value = instance.Path
string Path { get; }

Property Value

Type: System.String

Remarks

If you use this property to return a path for a presentation that has not been saved, it returns an empty string.

The path doesn't include the final backslash (\) or the name of the specified object. Use the Name property of the Presentation object to return the file name without the path, and use the FullName property to return the file name and the path together.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace