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


In This Topic
    MoveAsync Method (NFile)
    In This Topic
    Moves this file to the specified destination
    Syntax
    'Declaration
     
    
    Public Function MoveAsync( _
       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.MoveAsync(destinationPath, overrideDestination)
    public NPromise<NFile> MoveAsync( 
       System.string destinationPath,
       System.bool overrideDestination
    )

    Parameters

    destinationPath
    overrideDestination

    Return Value

    the destination file, if the move 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