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)
Usage
Dim linkFormat1 As LinkFormat
Dim returnValue As String
returnValue = linkFormat1.SourcePath
Syntax
ReadOnly Property SourcePath() As String
string SourcePath {get;}
property String^ SourcePath{
String^ get();
}
public System.String get_SourcePath();
function get SourcePath() : 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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
LinkFormat Interface
Microsoft.Office.Interop.Word Namespace