Partager via


ModelBusAdapterReference.Equality Operator

Compares two AdapterReferenceData instances for equality.

Namespace:  Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'Déclaration
Public Shared Operator = ( _
    object1 As ModelBusAdapterReference, _
    object2 As ModelBusAdapterReference _
) As Boolean
public static bool operator ==(
    ModelBusAdapterReference object1,
    ModelBusAdapterReference object2
)
public:
static bool operator ==(
    ModelBusAdapterReference^ object1, 
    ModelBusAdapterReference^ object2
)
static let inline (=)
        object1:ModelBusAdapterReference * 
        object2:ModelBusAdapterReference  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
True if the two AdapterReferenceData instances are the same, false otherwise.

.NET Framework Security

See Also

Reference

ModelBusAdapterReference Class

Microsoft.VisualStudio.Modeling.Integration Namespace