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


In This Topic
    CopyAsync Method (NFolder)
    In This Topic
    Copies this folder to the specified destination. If specified, overrides the duplicate descendant files and folders in the destination.
    Syntax
    'Declaration
     
    
    Public Function CopyAsync( _
       ByVal destinationPath As System.String, _
       ByVal overrideDestination As System.Boolean _
    ) As NPromise(Of NFolder)
    'Usage
     
    
    Dim instance As NFolder
    Dim destinationPath As System.String
    Dim overrideDestination As System.Boolean
    Dim value As NPromise(Of NFolder)
     
    value = instance.CopyAsync(destinationPath, overrideDestination)
    public NPromise<NFolder> CopyAsync( 
       System.string destinationPath,
       System.bool overrideDestination
    )

    Parameters

    destinationPath
    overrideDestination

    Return Value

    the destination folder, 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