Share via


InternalSymbolicLinkLinkCodeMethods.GetLinkType(PSObject) Method

Definition

Gets the link type of the specified reparse point.

public:
 static System::String ^ GetLinkType(System::Management::Automation::PSObject ^ instance);
public static string GetLinkType (System.Management.Automation.PSObject instance);
static member GetLinkType : System.Management.Automation.PSObject -> string
Public Shared Function GetLinkType (instance As PSObject) As String

Parameters

instance
PSObject

The object of FileInfo or DirectoryInfo type.

Returns

The link type of the reparse point. SymbolicLink for symbolic links.

Applies to