CustomAttributeNamedArgument.Equality(CustomAttributeNamedArgument, CustomAttributeNamedArgument) CustomAttributeNamedArgument.Equality(CustomAttributeNamedArgument, CustomAttributeNamedArgument) CustomAttributeNamedArgument.Equality(CustomAttributeNamedArgument, CustomAttributeNamedArgument) CustomAttributeNamedArgument.Equality(CustomAttributeNamedArgument, CustomAttributeNamedArgument) Operator

定義

測試兩個 CustomAttributeNamedArgument 結構是否相等。Tests whether two CustomAttributeNamedArgument structures are equivalent.

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 CustomAttributeNamedArgument CustomAttributeNamedArgument CustomAttributeNamedArgument

位於等號比較運算子左方的結構。The structure to the left of the equality operator.

right
CustomAttributeNamedArgument CustomAttributeNamedArgument CustomAttributeNamedArgument CustomAttributeNamedArgument

位於等號比較運算子右方的結構。The structure to the right of the equality operator.

傳回

如果這兩個 CustomAttributeNamedArgument 結構相等,則為 true,否則為 falsetrue if the two CustomAttributeNamedArgument structures are equal; otherwise, false.

備註

這個運算子的對等方法是CustomAttributeNamedArgument.EqualsThe equivalent method for this operator is CustomAttributeNamedArgument.Equals.

適用於