Share via


Attachment.PathName Property

Returns a String (string in C#) representing the full path to the linked attached file. Read-only.

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

Syntax

'Declaration
ReadOnly Property PathName As String
    Get
'Usage
Dim instance As Attachment
Dim value As String

value = instance.PathName
string PathName { get; }

Property Value

Type: System.String

Remarks

This property is only valid for linked files.

See Also

Reference

Attachment Interface

Attachment Members

Microsoft.Office.Interop.Outlook Namespace