Show / Hide Table of Contents

Class FileMetadata

Holds data about a file.

Inheritance
object
FileMetadata
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.File
Assembly: DeviceConsole.Environments.dll
Syntax
public class FileMetadata

Constructors

View Source

FileMetadata(string, string, string)

Initializes a new instance of the FileMetadata class.

Declaration
public FileMetadata(string name, string fullPath, string folder)
Parameters
Type Name Description
string name

The name of the file.

string fullPath

The path of the file.

string folder

The folder of the file.

Properties

View Source

Created

Gets or sets the date the file was created.

Declaration
public DateTimeOffset Created { get; set; }
Property Value
Type Description
DateTimeOffset
View Source

Folder

Gets the folder of the file.

Declaration
public string Folder { get; }
Property Value
Type Description
string
View Source

FullPath

Gets the path of the file.

Declaration
public string FullPath { get; }
Property Value
Type Description
string
View Source

IsFolder

Gets or sets a value indicating whether this file is a folder or not.

Declaration
public bool IsFolder { get; set; }
Property Value
Type Description
bool
View Source

Name

Gets the name of the file.

Declaration
public string Name { get; }
Property Value
Type Description
string
View Source

Size

Gets or sets the size of the file in bytes.

Declaration
public long Size { get; set; }
Property Value
Type Description
long
  • View Source
In This Article
Back to top Generated by DocFX