Επεξεργασία

Κοινή χρήση μέσω


FileCodeGroup.Equals(Object) Method

Definition

Determines whether the specified code group is equivalent to the current code group.

public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

Parameters

o
Object

The code group to compare with the current code group.

Returns

true if the specified code group is equivalent to the current code group; otherwise, false.

Examples

The following code shows the use of the Equals method to determine if two code groups are equal. This code example is part of a larger example provided for the FileCodeGroup class.

if ( firstCodeGroup->Equals( secondCodeGroup ) )
if (firstCodeGroup.Equals(secondCodeGroup))
If (firstCodeGroup.Equals(secondCodeGroup)) Then

Applies to