共用方式為


CacheFileEntity 建構函式

定義

多載

CacheFileEntity(FileEntity, CacheFileEntityProjectSpecificInfoType, Guid)

初始化 CacheFileEntity 類別的新執行個體。

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

初始化 CacheFileEntity 類別的新執行個體。

CacheFileEntity(FileEntity, CacheFileEntityProjectSpecificInfoType, Guid)

初始化 CacheFileEntity 類別的新執行個體。

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)

參數

fileEntity
FileEntity

檔案列舉服務所傳回的專案。

type
CacheFileEntityProjectSpecificInfoType

此專案與方案總管相關的一些特殊資訊。

projectId
Guid

此實體所屬專案的識別碼。 Empty 如果與任何專案無關,則會使用 。

適用於

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

初始化 CacheFileEntity 類別的新執行個體。

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)

參數

kind
FileEntityKind

(選擇性) 定義其類型。

fullPath
String

定義檔案或資料夾的完整路徑。

hasCaseBeenResolved
Boolean

(選擇性) 定義此物件的值是否區分大小寫。

type
CacheFileEntityProjectSpecificInfoType

此專案與方案總管相關的一些特殊資訊。

projectId
Guid

此實體所屬專案的識別碼。 Empty 如果與任何專案無關,則會使用 。

filePathCaseResolver
IFilePathCaseResolver

(選擇性) 定義設計來解析這個專案區分大小寫的物件。 如果 hasCaseBeenResolvedFalse ,則不會保留這個引數。

適用於