Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / Utils Class / GetRelativePath Method

In This Topic
    GetRelativePath Method (Utils)
    In This Topic
    Returns the relative path, for example: GetRelativePath("c:\temp", "c:\temp\qq\zz.txt") returns "qq\zz.txt".
    Syntax
    'Declaration
     
    Public Shared Function GetRelativePath( _
       ByVal basePath As String, _
       ByVal path As String _
    ) As String
    public static string GetRelativePath( 
       string basePath,
       string path
    )

    Parameters

    basePath
    path
    See Also