LinkFormat.SourcePath Property

Returns the path of the source file for the specified linked OLE object, picture, or field.

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

Syntax

'Declaration
ReadOnly Property SourcePath As String
    Get
'Usage
Dim instance As LinkFormat
Dim value As String

value = instance.SourcePath
string SourcePath { get; }

Property Value

Type: System.String

Remarks

The path doesn't include a trailing character (for example, "C:\MSOffice"). Use the PathSeparator property to add the character that separates folders and drive letters. Use the SourceName property to return the file name without the path and use the SourceFullName property to return the path and file name together.

See Also

Reference

LinkFormat Interface

LinkFormat Members

Microsoft.Office.Interop.Word Namespace