Skip to main content

CreateBytesPlatformFormat Method

Creates a new format for the current platform that returns an array of Byte.

Definition

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

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

Parameters

  String
The format identifier. This value is not validated and is passed AS IS to the underlying platform. Most systems use mime types, but macOS requires Uniform Type Identifiers (UTI).

Return Value

DataFormat(Byte[])
A new DataFormat.

See Also

Reference

DataFormat Class
Avalonia.Input Namespace