返回影响项目的主要输出的生成变量的列表。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Function KeyOutputBuildVariables As IList(Of String)
IList<string> KeyOutputBuildVariables()
IList<String^>^ KeyOutputBuildVariables()
abstract KeyOutputBuildVariables : unit -> IList<string>
function KeyOutputBuildVariables() : IList<String>
返回值
类型:System.Collections.Generic.IList<String>
主要生成变量的列表。
备注
这样可处理用户未手动更改项目文件的典型情况。 如果未发生手动更改,则可以在设计时(而不仅仅是在生成时)自动加载项目引用。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。