Share via


LinkFormat.SourceName Property 

Returns the name 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.SourceName

Syntax

ReadOnly Property SourceName() As String
string SourceName {get;}
property String^ SourceName{
    String^ get();
}
public System.String get_SourceName();
function get SourceName() : String;

Remarks

This property doesn't return the path for the source file.

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

Other Resources

LinkFormat Members