System::Guid::CompareTo 方法

Guid::CompareTo method

对当前对象和指定对象所表示的 GUID 执行算术比较。

int System::Guid::CompareTo(const Guid &g) const
参数类型描述
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

另见