DirectoryEntryInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the properties of a directory entry (a file or a directory). This is the base class for both FileInfo and DirectoryInfo.
public ref class DirectoryEntryInfo abstract
[MessagePack.Union(1, typeof(Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryInfo))]
[MessagePack.Union(2, typeof(Microsoft.VisualStudio.RpcContracts.FileSystem.FileInfo))]
[Microsoft.VisualStudio.RpcContracts.JsonConverters.TypeDiscriminator(typeof(Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryInfo), "directory")]
[Microsoft.VisualStudio.RpcContracts.JsonConverters.TypeDiscriminator(typeof(Microsoft.VisualStudio.RpcContracts.FileSystem.FileInfo), "file")]
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.RpcContracts.JsonConverters.DiscriminatedTypeJsonConverter<Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryInfo>), new System.Object[] { Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument })]
[System.Runtime.Serialization.DataContract]
public abstract class DirectoryEntryInfo
[<MessagePack.Union(1, typeof(Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryInfo))>]
[<MessagePack.Union(2, typeof(Microsoft.VisualStudio.RpcContracts.FileSystem.FileInfo))>]
[<Microsoft.VisualStudio.RpcContracts.JsonConverters.TypeDiscriminator(typeof(Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryInfo), "directory")>]
[<Microsoft.VisualStudio.RpcContracts.JsonConverters.TypeDiscriminator(typeof(Microsoft.VisualStudio.RpcContracts.FileSystem.FileInfo), "file")>]
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.RpcContracts.JsonConverters.DiscriminatedTypeJsonConverter<Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryInfo>), new System.Object[] { Mono.Cecil.CustomAttributeArgument, Mono.Cecil.CustomAttributeArgument })>]
[<System.Runtime.Serialization.DataContract>]
type DirectoryEntryInfo = class
Public MustInherit Class DirectoryEntryInfo
- Inheritance
-
DirectoryEntryInfo
- Derived
- Attributes
-
MessagePack.UnionAttribute TypeDiscriminatorAttribute Newtonsoft.Json.JsonConverterAttribute DataContractAttribute
Constructors
DirectoryEntryInfo(Uri, FileAttributes, DateTime, DateTime) |
Initializes a new instance of the DirectoryEntryInfo class. |
Properties
Attributes |
Gets the attributes of the directory entry. |
CreationTime |
Gets the creation time for the directory entry (UTC). |
LastWriteTime |
Gets the time when the directory entry was last written to (UTC). |
Uri |
Gets the URI for the directory entry. |