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

相等运算符右侧的结构。

返回

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

注解

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

适用于