Chili.Opf3 Send comments on this topic.
Equality Operator
See Also 
Chili.Opf3 Namespace > Generic ID Class : Equality Operator



id1
First ID to check.
id2
Second ID to check.
Checks the values and returns true, if both have the same value.

Syntax

Visual Basic (Declaration) 
Public Operator =( _
   ByVal id1 As ID(Of T), _
   ByVal id2 As ID(Of T) _
) As Boolean
C# 
public bool operator ==( 
   ID<T> id1,
   ID<T> id2
)
Managed Extensions for C++ 
public: bool op_Equality( 
   ID<T>* id1,
   ID<T>* id2
)
C++/CLI 
public:
bool operator ==( 
   ID<T>^ id1,
   ID<T>^ id2
)

Parameters

id1
First ID to check.
id2
Second ID to check.

Return Value

Returns true if both IDs have the same value.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also