Inequality 运算符

Determines whether two specified instances of Position are not equal.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public Shared Operator <> ( _
    o1 As Position, _
    o2 As Position _
) As Boolean
用法
Dim o1 As Position
Dim o2 As Position
Dim returnValue As Boolean

returnValue = (o1 <> o2)
public static bool operator !=(
    Position o1,
    Position o2
)
public:
static bool operator !=(
    Position^ o1, 
    Position^ o2
)
static let inline (<>)
        o1:Position * 
        o2:Position  : bool
JScript 支持使用重载的运算符,但不支持声明新重载运算符。

返回值

类型:System. . :: . .Boolean
true if o1 and o2 do not represent the same Position; false otherwise.