System::Guid::CompareTo μέθοδος

Guid::CompareTo method

Πραγματοποιεί αριθμητική σύγκριση των GUID που αντιπροσωπεύονται από το τρέχον και το καθορισμένο αντικείμενο.

int System::Guid::CompareTo(const Guid &g) const
ParameterTypeΠεριγραφή
gconst Guid&Το συγκριτικό

ReturnValue

-1 if the GUID represented by the current object is less than the GUID represented by g; 0 if the GUIDs are equal; 1 if the GUID represented by the current object is greater than the GUID represented by g

Δείτε επίσης