IDatabaseProjectNode.GetBuildFilesInProjectFileOrder 方法
傳回所有在字典中具有建置動作 Build 的檔案。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Sub GetBuildFilesInProjectFileOrder ( _
forceAbsolutePath As Boolean, _
<OutAttribute> ByRef files As IList(Of String) _
)
void GetBuildFilesInProjectFileOrder(
bool forceAbsolutePath,
out IList<string> files
)
void GetBuildFilesInProjectFileOrder(
bool forceAbsolutePath,
[OutAttribute] IList<String^>^% files
)
abstract GetBuildFilesInProjectFileOrder :
forceAbsolutePath:bool *
files:IList<string> byref -> unit
function GetBuildFilesInProjectFileOrder(
forceAbsolutePath : boolean,
files : IList<String>
)
參數
- forceAbsolutePath
型別:System.Boolean
如果 forceAbsolutePath 為 false,則會傳回 MSBuild 檔案中呈現之檔案的清單。對於大多數檔案,這是相對於專案資料夾的路徑。若是連結的檔案,則可能會傳回絕對路徑。如果 forceAbsolutePath 為 true,則所有路徑都是絕對路徑。
- files
型別:System.Collections.Generic.IList<String>%
依在 MSBuild 檔案中的顯示順序來排列的檔案。
備註
字典中的值代表檔案在專案檔中出現的順序。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。