2 つの RelativePoint 構造体を比較します。 結果として、2 つの RelativePoint 構造体の Position、X、または Y の各プロパティの値が等しくないかどうかが示されます。
名前空間: Microsoft.Windows.Design.Interaction
アセンブリ: Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Public Shared Operator <> ( _
point1 As RelativePoint, _
point2 As RelativePoint _
) As Boolean
public static bool operator !=(
RelativePoint point1,
RelativePoint point2
)
public:
static bool operator !=(
RelativePoint point1,
RelativePoint point2
)
static let inline (<>)
point1:RelativePoint *
point2:RelativePoint : bool
JScript では、オーバーロードされた演算子は使用できません。
パラメーター
- point1
型: Microsoft.Windows.Design.Interaction.RelativePoint
比較対象の第 1 RelativePoint。
- point2
型: Microsoft.Windows.Design.Interaction.RelativePoint
比較対象の第 2 RelativePoint。
戻り値
型: System.Boolean
p1 の Position、X、Y の各プロパティ値のいずれかが p2 の対応するプロパティ値と等しくない場合は true。それ以外の場合は false。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Interaction 名前空間