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
'宣告
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
- object1
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterReference
First object in comparison.
- object2
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterReference
Second object in comparison.
Return Value
Type: System.Boolean
True if the two AdapterReferenceData instances are the same, false otherwise.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.