Sdílet prostřednictvím


FileInfo(Uri, FileAttributes, Int64, DateTime, DateTime) Constructor

Definition

Initializes a new instance of the FileInfo class.

public:
 FileInfo(Uri ^ uri, System::IO::FileAttributes attributes, long length, DateTime creationTime, DateTime lastWriteTime);
[Newtonsoft.Json.JsonConstructor]
public FileInfo (Uri uri, System.IO.FileAttributes attributes, long length, DateTime creationTime, DateTime lastWriteTime);
[<Newtonsoft.Json.JsonConstructor>]
new Microsoft.VisualStudio.RpcContracts.FileSystem.FileInfo : Uri * System.IO.FileAttributes * int64 * DateTime * DateTime -> Microsoft.VisualStudio.RpcContracts.FileSystem.FileInfo
Public Sub New (uri As Uri, attributes As FileAttributes, length As Long, creationTime As DateTime, lastWriteTime As DateTime)

Parameters

uri
Uri

The URI of the file.

attributes
FileAttributes

The attributes of file.

length
Int64

The size of the file, in bytes.

creationTime
DateTime

The creation time of the file.

lastWriteTime
DateTime

The last write time of the file.

Attributes
Newtonsoft.Json.JsonConstructorAttribute

Applies to