CollationKey.ToByteArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the CollationKey to a sequence of bits.
[Android.Runtime.Register("toByteArray", "()[B", "GetToByteArrayHandler")]
public abstract byte[]? ToByteArray ();
[<Android.Runtime.Register("toByteArray", "()[B", "GetToByteArrayHandler")>]
abstract member ToByteArray : unit -> byte[]
Returns
a byte array representation of the CollationKey
- Attributes
Remarks
Converts the CollationKey to a sequence of bits. If two CollationKeys could be legitimately compared, then one could compare the byte arrays for each of those keys to obtain the same result. Byte arrays are organized most significant byte first.
Java documentation for java.text.CollationKey.toByteArray()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.