Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NFileSystemService Class / SetTimeAsync Method


In This Topic
    SetTimeAsync Method (NFileSystemService)
    In This Topic
    Sets the creation time of the given file of folder.
    Syntax
    'Declaration
     
    
    Public MustOverride Function SetTimeAsync( _
       ByVal fso As NFileSystemObject, _
       ByVal fsoTime As ENFileSystemObjectTime, _
       ByVal dateTime As System.Date _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NFileSystemService
    Dim fso As NFileSystemObject
    Dim fsoTime As ENFileSystemObjectTime
    Dim dateTime As System.Date
    Dim value As NPromise(Of NUndefined)
     
    value = instance.SetTimeAsync(fso, fsoTime, dateTime)
    public abstract NPromise<NUndefined> SetTimeAsync( 
       NFileSystemObject fso,
       ENFileSystemObjectTime fsoTime,
       System.DateTime dateTime
    )

    Parameters

    fso
    fsoTime
    dateTime
    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