ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / GetFileByPathAsync Method

In This Topic
    GetFileByPathAsync Method
    In This Topic
    Returns the StorageFile object for a file at a given path relative to the given folder.
    Syntax
    'Declaration
     
    Public Shared Function GetFileByPathAsync( _
       ByVal folder As Windows.Storage.StorageFolder, _
       ByVal relativePath As System.String _
    ) As System.Threading.Tasks.Task(Of StorageFile)
    public static System.Threading.Tasks.Task<StorageFile> GetFileByPathAsync( 
       Windows.Storage.StorageFolder folder,
       System.string relativePath
    )

    Parameters

    folder
    relativePath
    See Also