DefaultValueSourceLocation 枚举

定义

确定属性的默认值是设置在底部还是设置在项目文件的顶部。Determines whether the default value for a property is set at the bottom or the top of the project file.

public enum class DefaultValueSourceLocation
public enum DefaultValueSourceLocation
type DefaultValueSourceLocation = 
Public Enum DefaultValueSourceLocation
继承
DefaultValueSourceLocation

字段

AfterContext 1

在项目文件的底部设置属性的默认值(通过导入 .targets 文件,其中通常对属性是否尚未定义是有条件的)。The default value for a property is set at the bottom of the project file (usually via an import of a .targets file, where the property definition is conditional on whether the property has not already been defined.)

BeforeContext 0

在项目文件的顶端设置属性的默认值(通常通过导入 .props 文件)The default value for a property is set at the top of the project file (usually via an import of a .props file).

适用于