Namespace: Contracts.IO
Assembly: Contracts (in Contracts.dll)

Public Class FileInfo
This language is not supported or no code example is available.
public class FileInfo
This language is not supported or no code example is available.
public ref class FileInfo 
This language is not supported or no code example is available.
public class FileInfo
This language is not supported or no code example is available.
Name Description
Public constructor FileInfo(string) Constructor
Top
Name Description
Public property Attributes Set attributes
Public property CreatedTimeUtc
Public property CreationTime Gets or sets the creation time of the current file or directory.
Public property Directory Get the directory
Public property FullName Get the full name
Public property LastAccessTimeUtc
Public property LastWriteTimeUtc
Public property Length Get the length
Public property Name Get the name
Top
Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method OpenRead() Creates a read-only System.IO.FileStream.
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Contracts.IO.FileInfo

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1