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