FeatureAttribute(FeatureStage, Boolean) 构造函数

定义

创建并初始化 特性的新实例。

public:
 FeatureAttribute(FeatureStage featureStage, bool validInAllBranches);
 FeatureAttribute(FeatureStage const& featureStage, bool const& validInAllBranches);
public FeatureAttribute(FeatureStage featureStage, bool validInAllBranches);
function FeatureAttribute(featureStage, validInAllBranches)
Public Sub New (featureStage As FeatureStage, validInAllBranches As Boolean)

参数

featureStage
FeatureStage

指定是启用或禁用命名功能。

validInAllBranches
Boolean

bool

指示命名功能在所有分支中是否有效的布尔值。

适用于