ComponentOne Word for UWP
C1.UWP.Word Assembly / C1.Xaml.Word Namespace / C1WordDocument Class / LoadAsync Method / LoadAsync(StorageFile,FileFormat) Method
The file storage object to save the document.
FileFormat value that specifies the type of file to save.

In This Topic
    LoadAsync(StorageFile,FileFormat) Method
    In This Topic
    Load document from a file storage.
    Syntax
    'Declaration
     
    Public Overloads Function LoadAsync( _
       ByVal file As StorageFile, _
       ByVal format As FileFormat _
    ) As Task
    public Task LoadAsync( 
       StorageFile file,
       FileFormat format
    )

    Parameters

    file
    The file storage object to save the document.
    format
    FileFormat value that specifies the type of file to save.

    Return Value

    The task of represents an asynchronous operation.
    See Also