Partilhar via


Método Equals

Determines whether two instances of Hierarchy are equal.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Uso
Dim instance As Hierarchy
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool 
override Equals : 
        obj:Object -> bool 
public override function Equals(
    obj : Object
) : boolean

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the two instances are equivalent; false otherwise.