ComponentOne FlexGrid 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 StorageFolder, _
       Optional ByVal extension As String, _
       Optional ByVal prefix As String, _
       Optional ByVal suffix As String _
    ) As Task(Of String)
    public static Task<string> CreateTempFileNameAsync( 
       StorageFolder folder,
       string extension,
       string prefix,
       string suffix
    )

    Parameters

    folder
    extension
    prefix
    suffix
    See Also