ExecutionOptions.Inequality 運算子
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
判斷指定的物件是否不相等。
命名空間: System.Data.Entity.Core.Objects
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Shared Operator <> ( _
left As ExecutionOptions, _
right As ExecutionOptions _
) As Boolean
'用途
Dim left As ExecutionOptions
Dim right As ExecutionOptions
Dim returnValue As Boolean
returnValue = (left <> right)
public static bool operator !=(
ExecutionOptions left,
ExecutionOptions right
)
public:
static bool operator !=(
ExecutionOptions^ left,
ExecutionOptions^ right
)
static let inline(<>)
left:ExecutionOptions *
right:ExecutionOptions : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
參數
- left
類型:System.Data.Entity.Core.Objects.ExecutionOptions
要比較的左邊物件。
- right
類型:System.Data.Entity.Core.Objects.ExecutionOptions
要比較的右邊物件。
傳回值
類型:System.Boolean
如果兩個物件不相等,則為 true,否則為 false。