FontUnit.Equality(FontUnit, FontUnit) 运算符
定义
public:
static bool operator ==(System::Web::UI::WebControls::FontUnit left, System::Web::UI::WebControls::FontUnit right);
public static bool operator == (System.Web.UI.WebControls.FontUnit left, System.Web.UI.WebControls.FontUnit right);
static member ( = ) : System.Web.UI.WebControls.FontUnit * System.Web.UI.WebControls.FontUnit -> bool
Public Shared Operator == (left As FontUnit, right As FontUnit) As Boolean
参数
- left
- FontUnit
运算符左侧包含字体属性的 FontUnit。A FontUnit on the left of the operator that contains font properties.
- right
- FontUnit
运算符右侧包含字体属性的 FontUnit。A FontUnit on the right of the operator that contains font properties.
返回
如果两个 FontUnit 对象相等,则为 true;否则为 false。true if both FontUnit objects are equal; otherwise, false.
注解
对于 FontUnit 要等效的对象,每个对象必须具有与和属性相同的 Type 值 Unit 。For the FontUnit objects to be equivalent, each object must have the same values for the Type and Unit properties.
此运算符的等效方法是 FontUnit.Equals(Object)The equivalent method for this operator is FontUnit.Equals(Object)