Engine.GlobalProperties 属性
定义
获取或设置项目的全局属性的集合。Gets or sets a collection of the global properties for the project.
public:
property Microsoft::Build::BuildEngine::BuildPropertyGroup ^ GlobalProperties { Microsoft::Build::BuildEngine::BuildPropertyGroup ^ get(); void set(Microsoft::Build::BuildEngine::BuildPropertyGroup ^ value); };
public Microsoft.Build.BuildEngine.BuildPropertyGroup GlobalProperties { get; set; }
member this.GlobalProperties : Microsoft.Build.BuildEngine.BuildPropertyGroup with get, set
Public Property GlobalProperties As BuildPropertyGroup
属性值
一个 BuildPropertyGroup,其中包含项目的全局属性。A BuildPropertyGroup that contains the global properties for the project.
注解
全局属性是通过使用 /property 开关在命令行上设置的属性,或者是在生成项目之前由集成开发环境 (IDE) 设置的属性。Global properties are properties that are set by using the /property switch on the command line, or properties that are set by the integrated development environment (IDE) before a project is built. 这些全局属性将应用于使用此生成的所有项目 Engine 。These global properties are applied to all projects that are built by using this Engine.