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

In This Topic
    CreateTempFileNameAsync Method
    In This Topic
    Creates a unique file name given the parameters. Note the theoretical race condition since the file name is only guaranteed to be unique at the point it is generated.
    Syntax
    'Declaration
     
    Public Shared Function CreateTempFileNameAsync( _
       ByVal folder As Windows.Storage.StorageFolder, _
       Optional ByVal extension As System.String, _
       Optional ByVal prefix As System.String, _
       Optional ByVal suffix As System.String _
    ) As System.Threading.Tasks.Task(Of String)
    public static System.Threading.Tasks.Task<string> CreateTempFileNameAsync( 
       Windows.Storage.StorageFolder folder,
       System.string extension,
       System.string prefix,
       System.string suffix
    )

    Parameters

    folder
    extension
    prefix
    suffix
    See Also