Skip to content

DataFormats class

Typed data formats: the standard formats every platform reads the same way, and access to a platform’s own formats.

public static class DataFormats
name description
static StorageItems { get; } File system items as absolute paths.
static Text { get; } Plain text.
static Uris { get; } Absolute URIs as the source sent them, including items that are not local files.
static Create<T>(…) A format this application defines for its own data, such as a drag between its elements.
static FromPlatformName(…) A format another application offered, under the platform’s own name for it; the value is the bytes as sent.