Compartir a través de


FileEntity(String, FileEntityKind, Boolean, IFilePathCaseResolver) Constructor

Definition

Initializes a new instance of the FileEntity struct.

public FileEntity (string fullPath, Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntityKind kind = Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntityKind.File, bool hasCaseBeenResolved = false, Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.IFilePathCaseResolver? filePathCaseResolver = default);
new Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity : string * Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntityKind * bool * Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.IFilePathCaseResolver -> Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity
Public Sub New (fullPath As String, Optional kind As FileEntityKind = Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntityKind.File, Optional hasCaseBeenResolved As Boolean = false, Optional filePathCaseResolver As IFilePathCaseResolver = Nothing)

Parameters

fullPath
String

Defines the full path to the file or folder.

kind
FileEntityKind

(optional) Defines what kind of entry it is.

hasCaseBeenResolved
Boolean

(optional) Defines whether the values of this object are case sensitive.

filePathCaseResolver
IFilePathCaseResolver

(optional) Defines an object designed to resolve the case sensitiveness of this entry. This argument isn't kept if hasCaseBeenResolved is False.

Applies to