CustomAttributeNamedArgument.Equality 运算符

定义

测试两个 CustomAttributeNamedArgument 结构是否相等。

public:
 static bool operator ==(System::Reflection::CustomAttributeNamedArgument left, System::Reflection::CustomAttributeNamedArgument right);
public static bool operator == (System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right);
static member ( = ) : System.Reflection.CustomAttributeNamedArgument * System.Reflection.CustomAttributeNamedArgument -> bool
Public Shared Operator == (left As CustomAttributeNamedArgument, right As CustomAttributeNamedArgument) As Boolean

参数

left
CustomAttributeNamedArgument

相等运算符左侧的结构。

right
CustomAttributeNamedArgument

相等运算符右侧的结构。

返回

如果两个 CustomAttributeNamedArgument 结构相等,则为 true;否则为 false

注解

此运算符 CustomAttributeNamedArgument.Equals的等效方法是 。

适用于