FileSystemInfo.LinkTarget Property

Definition

Gets the target path of the link located in FullName, or null if this FileSystemInfo instance doesn't represent a link.

public:
 property System::String ^ LinkTarget { System::String ^ get(); };
public string? LinkTarget { get; }
member this.LinkTarget : string
Public ReadOnly Property LinkTarget As String

Property Value

The target path of the link located in FullName, or null if this FileSystemInfo instance doesn't represent a link.

Remarks

Symbolic links and junctions are the types of links this API can resolve.

Applies to

See also