次の方法で共有


Equality 演算子

Cell の 2 つの指定したインスタンスが等しいかどうかを示します。

名前空間:  Microsoft.AnalysisServices.AdomdClient
アセンブリ:  Microsoft.AnalysisServices.AdomdClient (Microsoft.AnalysisServices.AdomdClient.dll)

構文

'宣言
Public Shared Operator = ( _
    o1 As Cell, _
    o2 As Cell _
) As Boolean
'使用
Dim o1 As Cell
Dim o2 As Cell
Dim returnValue As Boolean

returnValue = (o1 = o2)
public static bool operator ==(
    Cell o1,
    Cell o2
)
public:
static bool operator ==(
    Cell^ o1, 
    Cell^ o2
)
static let inline (=)
        o1:Cell * 
        o2:Cell  : bool
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。

戻り値

型: System. . :: . .Boolean
o1 と o2 が同一の Cell を表す場合は true、同一ではない場合は false です。