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)
- C#
- VB
- F#
public static DataFormat<byte[]> CreateBytesPlatformFormat(
string identifier
)
Public Shared Function CreateBytesPlatformFormat (
identifier As String
) As DataFormat(Of Byte())
static member CreateBytesPlatformFormat :
identifier : string -> DataFormat<byte[]>
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.