List & Label .NET
combit.Reporting Namespace / PathHelper Class / GetRelativePath Method


In This Topic
    GetRelativePath Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function GetRelativePath( _
       ByVal basePath As String, _
       ByVal targetPath As String _
    ) As String
    public static string GetRelativePath( 
       string basePath,
       string targetPath
    )
    public:
    static String^ GetRelativePath( 
       String^ basePath,
       String^ targetPath
    ) 

    Parameters

    basePath
    targetPath
    Requirements

    Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
    .NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10

    See Also