Share via


CacheFileEntity Constructors

Definition

Overloads

CacheFileEntity(FileEntity, CacheFileEntityProjectSpecificInfoType, Guid)

Initializes a new instance of CacheFileEntity class.

CacheFileEntity(FileEntityKind, String, Boolean, CacheFileEntityProjectSpecificInfoType, Guid, IFilePathCaseResolver)

Initializes a new instance of CacheFileEntity class.

CacheFileEntity(FileEntity, CacheFileEntityProjectSpecificInfoType, Guid)

Initializes a new instance of CacheFileEntity class.

public CacheFileEntity (Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity fileEntity, Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.CacheFileEntityProjectSpecificInfoType type, Guid projectId);
new Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.CacheFileEntity : Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity * Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.CacheFileEntityProjectSpecificInfoType * Guid -> Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.CacheFileEntity
Public Sub New (fileEntity As FileEntity, type As CacheFileEntityProjectSpecificInfoType, projectId As Guid)

Parameters

fileEntity
FileEntity

The entry that is returned by the file enumeration services.

type
CacheFileEntityProjectSpecificInfoType

Some special information about this entry related to Solution Explorer.

projectId
Guid

The ID of the project this entity is part of. Empty is used if it isn't related to any project.

Applies to

CacheFileEntity(FileEntityKind, String, Boolean, CacheFileEntityProjectSpecificInfoType, Guid, IFilePathCaseResolver)

Initializes a new instance of CacheFileEntity class.

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

Parameters

kind
FileEntityKind

(optional) Defines what kind of entry it is.

fullPath
String

Defines the full path to the file or folder.

hasCaseBeenResolved
Boolean

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

type
CacheFileEntityProjectSpecificInfoType

Some special information about this entry related to Solution Explorer.

projectId
Guid

The ID of the project this entity is part of. Empty is used if it isn't related to any project.

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