Project.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

包含项目的全局属性的 BuildPropertyGroupA BuildPropertyGroup containing the global properties for the project.

注解

全局属性是通过命令行上的 /property 开关设置的属性,或在调用 MSBuild 之前由集成开发环境设置的属性。Global properties are properties set with the /property switch on the command line, or properties set by the integrated development environment before invoking MSBuild. 有关详细信息,请参阅 MSBuild Command-Line 引用For more information, see MSBuild Command-Line Reference.

适用于