Share via


ModelBusReference.Equality Operator (ModelBusReference, ModelBusReference)

 

Compares two ModelBusReference instances for equality.

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

Syntax

public static bool operator ==(
    ModelBusReference object1,
    ModelBusReference object2
)
public:
static bool operator ==(
    ModelBusReference^ object1,
    ModelBusReference^ object2
)
static let inline (=)
        object1:ModelBusReference *
        object2:ModelBusReference : bool
Public Shared Operator = (
    object1 As ModelBusReference,
    object2 As ModelBusReference
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if the two ModelBusReference instances refer to the same adapter, false otherwise.

Remarks

References are considered equal if the LogicalAdapterId and SerializedAdapterReference are the same. The modelDisplayName is not considered significant for comparison purposes.

See Also

ModelBusReference Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top