Volume.Key.Inequality 運算子

定義

判斷兩個指定的索引鍵物件是否有不同的值。

多載

Inequality(Volume+Key, Volume+Key)

使用指定的運算元判斷兩個指定的索引鍵物件是否有不同的值。

Inequality(Volume+Key, Object)

判斷指定的物件和索引鍵的左邊是否不相等。

Inequality(Object, Volume+Key)

判斷指定的物件和索引鍵的右邊是否不相等。

Inequality(Volume+Key, Volume+Key)

使用指定的運算元判斷兩個指定的索引鍵物件是否有不同的值。

public:
 static bool operator !=(Microsoft::SqlServer::Management::Utility::Volume::Key ^ leftOperand, Microsoft::SqlServer::Management::Utility::Volume::Key ^ rightOperand);
public static bool operator != (Microsoft.SqlServer.Management.Utility.Volume.Key leftOperand, Microsoft.SqlServer.Management.Utility.Volume.Key rightOperand);
static member op_Inequality : Microsoft.SqlServer.Management.Utility.Volume.Key * Microsoft.SqlServer.Management.Utility.Volume.Key -> bool
Public Shared Operator != (leftOperand As Volume.Key, rightOperand As Volume.Key) As Boolean

參數

leftOperand
Volume.Key

不等比較運算子左邊的運算元物件。

rightOperand
Volume.Key

不等比較運算子右邊的運算元物件。

傳回

Boolean

如果兩個物件不同則為 true,否則為 false

備註

這個運算子的對等方法是<xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Compare%28Microsoft.SqlServer.Management.Utility.Volume.Key%2CMicrosoft.SqlServer.Management.Utility.Volume.Key%29?displayProperty=fullName>

適用於

Inequality(Volume+Key, Object)

判斷指定的物件和索引鍵的左邊是否不相等。

public:
 static bool operator !=(Microsoft::SqlServer::Management::Utility::Volume::Key ^ leftOperand, System::Object ^ obj);
public static bool operator != (Microsoft.SqlServer.Management.Utility.Volume.Key leftOperand, object obj);
static member op_Inequality : Microsoft.SqlServer.Management.Utility.Volume.Key * obj -> bool
Public Shared Operator != (leftOperand As Volume.Key, obj As Object) As Boolean

參數

leftOperand
Volume.Key

包含要比較之索引鍵左邊的索引鍵物件。

obj
Object

包含要比較之物件的物件。

傳回

Boolean

如果兩個物件不相等則為 true,否則為 false

備註

這個運算子的對等方法是<xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Compare%28Microsoft.SqlServer.Management.Utility.Volume.Key%2CSystem.Object%29?displayProperty=fullName>

適用於

Inequality(Object, Volume+Key)

判斷指定的物件和索引鍵的右邊是否不相等。

public:
 static bool operator !=(System::Object ^ obj, Microsoft::SqlServer::Management::Utility::Volume::Key ^ rightOperand);
public static bool operator != (object obj, Microsoft.SqlServer.Management.Utility.Volume.Key rightOperand);
static member op_Inequality : obj * Microsoft.SqlServer.Management.Utility.Volume.Key -> bool
Public Shared Operator != (obj As Object, rightOperand As Volume.Key) As Boolean

參數

obj
Object

包含要比較之物件的物件。

rightOperand
Volume.Key

包含要比較之索引鍵右邊的索引鍵物件。

傳回

Boolean

如果兩個物件不相等則為 true,否則為 false

備註

這個運算子的對等方法是<xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Compare%28System.Object%2CMicrosoft.SqlServer.Management.Utility.Volume.Key%29?displayProperty=fullName>

適用於