SubordinateFileHelper 類別
用來管理附屬檔案 (在方案總管中以巢狀方式置於專案項目內的檔案) 的協助程式方法。
繼承階層架構
System.Object
Microsoft.VisualStudio.Modeling.Shell.SubordinateFileHelper
命名空間: Microsoft.VisualStudio.Modeling.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)
語法
'宣告
Public NotInheritable Class SubordinateFileHelper
public static class SubordinateFileHelper
SubordinateFileHelper 類型會公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
![]() ![]() |
GetChildProjectItemFileNames | 取得所有從屬檔案的檔名清單。 |
![]() ![]() |
GetChildProjectItemId | 取得具有指定副檔名的第一個附屬檔案的項目 ID。 |
![]() ![]() |
GetChildProjectItemIds | 取得所有附屬檔案的項目 ID。 |
![]() ![]() |
LockSubordinateDocument(IServiceProvider, DocData, UInt32) | 建立並傳回指定之檔案的不可見編輯器。 |
![]() ![]() |
LockSubordinateDocument(IServiceProvider, DocData, String, UInt32) | 建立並傳回指定之檔案的不可見編輯器。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。