ModelProperty.Equality(ModelProperty, ModelProperty) 运算符

定义

确定属性是否相等。 如果属性具有相同的名称和父级,则属性相等。

public:
 static bool operator ==(System::Activities::Presentation::Model::ModelProperty ^ first, System::Activities::Presentation::Model::ModelProperty ^ second);
public static bool operator == (System.Activities.Presentation.Model.ModelProperty first, System.Activities.Presentation.Model.ModelProperty second);
static member ( = ) : System.Activities.Presentation.Model.ModelProperty * System.Activities.Presentation.Model.ModelProperty -> bool
Public Shared Operator == (first As ModelProperty, second As ModelProperty) As Boolean

参数

first
ModelProperty

第一个属性。

second
ModelProperty

第二个属性。

返回

Boolean

如果第一个属性与第二个属性相等,则为 true;否则为 false

适用于