UWP Data API Reference
Welcome to the comprehensive API reference for data management within Universal Windows Platform (UWP) applications. This section covers APIs related to data storage, serialization, access, and synchronization.
Windows.Storage
Provides classes for accessing and managing files and folders, including local storage, roaming storage, and external storage devices.
-
StorageFolderRepresents a directory in the file system.
GetFilesAsync()CreateFileAsync()CreateFolderAsync()GetFolderAsync()
-
StorageFileRepresents a file in the file system.
OpenAsync()CopyAsync()MoveAsync()DeleteAsync()
-
FileIOProvides static methods for reading from and writing to files.
ReadTextAsync()WriteTextAsync()ReadBufferAsync()WriteBufferAsync()
-
KnownFoldersProvides access to well-known folders like Documents, Pictures, and Music.
DocumentsLibraryPicturesLibraryMusicLibrary
Windows.Storage.Streams
Defines interfaces and classes for reading and writing data streams.
-
IRandomAccessStreamRepresents a stream that can be read from and written to, and whose position can be changed.
GetInputStreamAtIndex()GetOutputStreamAtIndex()Seek()Size
-
DataReaderProvides methods for reading binary data from a stream.
ReadByte()ReadUInt16()ReadString()LoadAsync()
-
DataWriterProvides methods for writing binary data to a stream.
WriteByte()WriteUInt16()WriteString()StoreAsync()
Windows.Data.Json
Provides classes for working with JSON data.
-
JsonObjectRepresents a JSON object.
Parse()Stringify()GetNamedObject()GetNamedString()
-
JsonArrayRepresents a JSON array.
Parse()Stringify()GetArray()GetObjectAt()
-
JsonValueRepresents a single JSON value (string, number, boolean, null, object, or array).
ValueTypeGetString()GetNumber()GetBoolean()
Windows.Data.Xml.Dom
Provides classes for parsing, manipulating, and creating XML documents.
-
XmlDocumentRepresents an XML document.
LoadXml()CreateElement()SelectSingleNode()GetElementsByTagName()
-
XmlElementRepresents an XML element.
SetAttribute()GetAttribute()AppendChild()ChildNodes