共用方式為


Equality 運算子

Determines whether two specified instances of NamedSet the same values.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Shared Operator = ( _
    o1 As NamedSet, _
    o2 As NamedSet _
) As Boolean
'用途
Dim o1 As NamedSet
Dim o2 As NamedSet
Dim returnValue As Boolean

returnValue = (o1 = o2)
public static bool operator ==(
    NamedSet o1,
    NamedSet o2
)
public:
static bool operator ==(
    NamedSet^ o1, 
    NamedSet^ o2
)
static let inline (=)
        o1:NamedSet * 
        o2:NamedSet  : bool
JScript 支援多載運算子的使用,但不支援新運算子的宣告。

傳回值

型別:System. . :: . .Boolean
true if o1 and o2 represent the same NamedSet; false otherwise.