Skip to main content

CreateBytesApplicationFormat Method

Creates a new format specific to the application that returns an array of Byte.

Definition​

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static DataFormat<byte[]> CreateBytesApplicationFormat(
string identifier
)

Parameters​

  String

The format identifier. To avoid conflicts with system identifiers, this value isn't passed to the underlying platform directly. However, two different applications using the same identifier with CreateBytesApplicationFormat(String) or CreateStringApplicationFormat(String) are able to share data using this format.

Only ASCII letters (A-Z, a-z), digits (0-9), the dot (.) and the hyphen (-) are accepted.

Return Value​

DataFormat(Byte[])
A new DataFormat.

See Also​

Reference​

DataFormat Class
Avalonia.Input Namespace