ドキュメント

Unity Engine

Unity Engine

CompareTo

Returns the lexicographical sort order of this string relative to another.
読み終わるまでの所要時間 2 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

CompareTo(NativeText)

Returns the lexicographical sort order of this string relative to another.
public int CompareTo(NativeText other)

Parameters

Another string to compare with.

Returns

Type

Description

intA number denoting the lexicographical sort order of this string relative to the other string:

CompareTo(ReadOnly)

Returns the lexicographical sort order of this string relative to another.
public int CompareTo(NativeText.ReadOnly other)

Parameters

Another string to compare with.

Returns

Type

Description

intA number denoting the lexicographical sort order of this string relative to the other string:

CompareTo(string)

Returns the lexicographical sort order of this string relative to another.
[ExcludeFromBurstCompatTesting("Takes managed string")]public int CompareTo(string other)

Parameters

other

Another string to compare with.

Returns

Type

Description

intA number denoting the lexicographical sort order of this string relative to the other string:

CompareTo(FixedString32Bytes)

Returns the lexicographical sort order of this string relative to another.
public int CompareTo(FixedString32Bytes other)

Parameters

Another string to compare with.

Returns

Type

Description

intA number denoting the lexicographical sort order of this string relative to the other string:

CompareTo(FixedString64Bytes)

Returns the lexicographical sort order of this string relative to another.
public int CompareTo(FixedString64Bytes other)

Parameters

Another string to compare with.

Returns

Type

Description

intA number denoting the lexicographical sort order of this string relative to the other string:

CompareTo(FixedString128Bytes)

Returns the lexicographical sort order of this string relative to another.
public int CompareTo(FixedString128Bytes other)

Parameters

Another string to compare with.

Returns

Type

Description

intA number denoting the lexicographical sort order of this string relative to the other string:

CompareTo(FixedString512Bytes)

Returns the lexicographical sort order of this string relative to another.
public int CompareTo(FixedString512Bytes other)

Parameters

Another string to compare with.

Returns

Type

Description

intA number denoting the lexicographical sort order of this string relative to the other string:

CompareTo(FixedString4096Bytes)

Returns the lexicographical sort order of this string relative to another.
public int CompareTo(FixedString4096Bytes other)

Parameters

Another string to compare with.

Returns

Type

Description

intA number denoting the lexicographical sort order of this string relative to the other string: