Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NFile Class / CopyAsync Method


In This Topic
    CopyAsync Method (NFile)
    In This Topic
    Copies this file to the specified destination.
    Syntax
    'Declaration
     
    
    Public Function CopyAsync( _
       ByVal destinationPath As System.String, _
       ByVal overrideDestination As System.Boolean _
    ) As NPromise(Of NFile)
    'Usage
     
    
    Dim instance As NFile
    Dim destinationPath As System.String
    Dim overrideDestination As System.Boolean
    Dim value As NPromise(Of NFile)
     
    value = instance.CopyAsync(destinationPath, overrideDestination)
    public NPromise<NFile> CopyAsync( 
       System.string destinationPath,
       System.bool overrideDestination
    )

    Parameters

    destinationPath
    overrideDestination

    Return Value

    the destination file, if the copy succeeded
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also