CustomAttributeNamedArgument.Inequality(CustomAttributeNamedArgument, CustomAttributeNamedArgument) CustomAttributeNamedArgument.Inequality(CustomAttributeNamedArgument, CustomAttributeNamedArgument) CustomAttributeNamedArgument.Inequality(CustomAttributeNamedArgument, CustomAttributeNamedArgument) CustomAttributeNamedArgument.Inequality(CustomAttributeNamedArgument, CustomAttributeNamedArgument) Operator

定義

測試兩個 CustomAttributeNamedArgument 結構是否不同。Tests whether two CustomAttributeNamedArgument structures are different.

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 op_Inequality : 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 inequality operator.

right
CustomAttributeNamedArgument CustomAttributeNamedArgument CustomAttributeNamedArgument CustomAttributeNamedArgument

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

傳回

如果這兩個 CustomAttributeNamedArgument 結構不同,則為 true;否則為 falsetrue if the two CustomAttributeNamedArgument structures are different; otherwise, false.

備註

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

適用於