Partager via


DataSourceCollection.Equality Operator (DataSourceCollection, DataSourceCollection)

Equality operators that give "left == right" the same semantics as "left.Equals (right)"

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Shared Operator = ( _
    left As DataSourceCollection, _
    right As DataSourceCollection _
) As Boolean
'Utilisation
Dim left As DataSourceCollection
Dim right As DataSourceCollection
Dim returnValue As Boolean

returnValue = (left = right)
public static bool operator ==(
    DataSourceCollection left,
    DataSourceCollection right
)
public:
static bool operator ==(
    DataSourceCollection^ left, 
    DataSourceCollection^ right
)
static let inline (=)
        left:DataSourceCollection * 
        right:DataSourceCollection  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

DataSourceCollection Class

DataSourceCollection Members

Equality Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace