Udostępnij za pośrednictwem


.NET for Windows Store apps APIs

The .NET for Windows Store apps provide a set of managed types that you can use to create Windows Store apps for Windows using C# or Visual Basic. The following list displays the namespaces in the .NET for Windows Store apps. Note that the .NET for Windows Store apps include a subset of the types provided in the full .NET Framework for each namespace. For information about individual namespaces, see the linked topics.

For more information, see .NET for Windows Store apps overview.

Windows Store apps only: APIs for Windows Store apps that are expressed as HTML or XAML elements are supported only in Windows Store apps; they are not supported in desktop apps or Windows desktop browsers.

Namespaces

Namespace

Description

System

Contains fundamental classes and base classes that define commonly used value and reference data types, events and event handlers, interfaces, attributes, and processing exceptions.

System.CodeDom.Compiler

Contains types for managing the generation and compilation of source code in supported programming languages.

System.Collections

Contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.

System.Collections.Concurrent

Contains interfaces and classes that define various collection objects for concurrent processing.

System.Collections.Generic

Contains interfaces and classes that define generic collections, which enable users to create strongly typed collections that provide better type safety and performance than non-generic strongly typed collections.

System.Collections.ObjectModel

Contains classes that can be used as collections in the object model of a reusable library. Use these classes when properties or methods return collections.

System.Collections.Specialized

Contains specialized and strongly typed collections; for example, a linked list dictionary, a bit vector, and collections that contain only strings.

System.ComponentModel

Provides classes that are used to implement the run-time and design-time behavior of components and controls.

System.ComponentModel.DataAnnotations

Provides attribute classes that are used to define metadata for controls.

System.ComponentModel.DataAnnotations.Schema

Provides support for attribute classes that are used to define metadata for controls.

System.Composition

To install the System.Composition namespaces, open your project in Visual Studio 2012 or later, choose Manage NuGet Packages from the Project menu, and search online for the Microsoft.Composition package.

System.Composition.Convention

To install the System.Composition namespaces, open your project in Visual Studio 2012 or later, choose Manage NuGet Packages from the Project menu, and search online for the Microsoft.Composition package.

System.Composition.Hosting

To install the System.Composition namespaces, open your project in Visual Studio 2012 or later, choose Manage NuGet Packages from the Project menu, and search online for the Microsoft.Composition package.

System.Composition.Hosting.Core

To install the System.Composition namespaces, open your project in Visual Studio 2012 or later, choose Manage NuGet Packages from the Project menu, and search online for the Microsoft.Composition package.

System.Diagnostics

Provides classes that enable you to interact with system processes, event logs, and performance counters.

System.Diagnostics.CodeAnalysis

Contains classes for interaction with code analysis tools.

System.Diagnostics.Contracts

Contains static classes for representing program constructs such as preconditions, postconditions, and invariants.

System.Diagnostics.Tracing

Provides the types and members that allow developers to create strongly typed events to be captured by Event Tracing for Windows (ETW).

System.Dynamic

Provides classes and interfaces that support the dynamic language runtime (DLR).

System.Globalization

Contains classes that define culture-related information, including the language, the country/region, the calendars in use, the format patterns for dates, currency, and numbers, and the sort order for strings.

System.IO

Contains types that enable synchronous and asynchronous reading and writing on data streams and files.

System.IO.Compression

Contains classes that provide basic compression and decompression for streams.

System.Linq

Contains classes and interfaces that support queries that use Language-Integrated Query (LINQ).

System.Linq.Expressions

Contains types that enable language-level code expressions to be represented as objects in the form of expression trees.

System.Net

Provides a simple programming interface for many of the protocols used on networks today.

System.Net.Http

Provides a programming interface for modern HTTP applications.

System.Net.Http.Headers

Provides support collections of HTTP headers used by the System.Net.Http namespace.

System.Net.NetworkInformation

Provides access to network traffic data, network address information, and notification of address changes for the local computer.

System.Numerics

Contains types that complement the numeric primitives that are defined by the .NET Framework.

System.Reflection

Contains classes and interfaces that provide a managed view of loaded types, methods, and fields, with the ability to dynamically create and invoke types.

System.Reflection.Context

Contains classes that enable customized reflection contexts.

System.Reflection.Emit

Contains classes that allow a compiler or tool to emit metadata and Microsoft intermediate language (MSIL) and optionally generate a PE file on disk. The primary clients of these classes are script engines and compilers.

System.Resources

Provides classes and interfaces that enable developers to create, store, and manage various culture-specific resources used in an application.

System.Runtime

Contains advanced types that support diverse namespaces such as System, the Runtime namespaces, and the Security namespaces.

System.Runtime.CompilerServices

Provides functionality for compiler writers who use managed code to specify attributes in metadata that affect the run-time behavior of the common language runtime.

System.Runtime.ExceptionServices

Provides classes for advanced exception handling.

System.Runtime.InteropServices

Provides a wide variety of members that support COM interop and platform invoke services.

System.Runtime.InteropServices.ComTypes

Contains methods that are definitions of COM functions for managed code.

System.Runtime.InteropServices.WindowsRuntime

Contains classes that support interoperation between managed code and the Windows Runtime, and that enable the creation of Windows Runtime types with managed code.

System.Runtime.Serialization

Contains classes that can be used for serializing and deserializing objects.

System.Runtime.Serialization.Json

Contains types for serializing objects to JavaScript Object Notation (JSON) and deserializing objects from JSON.

System.Runtime.Versioning

Contains advanced types that support versioning in side-by-side implementations of the .NET Framework.

System.Security

Provides the underlying structure of the .NET Framework security system, including base classes for permissions.

System.Security.Principal

Defines a principal object that represents the security context under which code is running.

System.ServiceModel

Contains the types necessary to build Windows Communication Foundation (WCF) service and client applications that can be used to build widely distributed applications.

System.ServiceModel.Channels

Contains the types required to construct and modify the messages used by clients and services to communicate with each other, the types of channels used to exchange messages, the channel factories and channel listeners used to construct those channels, and the binding elements used to configure them.

System.ServiceModel.Description

Contains the types requires to construct and modify descriptions of services, contracts, and endpoints that are used to build service runtimes and to export metadata.

System.ServiceModel.Dispatcher

Contains the types necessary to modify the run-time execution behavior of service and client applications.

System.ServiceModel.Security

Contains classes that support general Windows Communication Foundation (WCF) security.

System.ServiceModel.Security.Tokens

Contains types that represent security tokens and certificates for Windows Communication Foundation (WCF) security.

System.Text

Contains classes representing character encodings; and a helper class that manipulates and formats String objects without creating intermediate instances of String.

System.Text.RegularExpressions

Contains classes that provide access to the .NET Framework regular expression engine.

System.Threading

Provides classes and interfaces that enable multithreaded programming.

System.Threading.Tasks

Provides types that simplify the work of writing concurrent and asynchronous code.

System.Threading.Tasks.DataFlow

Provides an actor-based programming model that provides in-process message passing for coarse-grained dataflow and pipelining tasks.

To install the System.Threading.Tasks.Dataflow namespace, open your project in Visual Studio 2012 or later, choose Manage NuGet Packages from the Project menu, and search online for the Microsoft.Tpl.Dataflow package.

System.Windows.Input

Contains types that enable custom commands.

System.Xml

Provides standards-based support for processing XML.

System.Xml.Linq

Contains the types for LINQ to XML, which is an in-memory XML programming interface that enables you to modify XML documents efficiently and easily.

System.Xml.Schema

Contains the XML classes that provide standards-based support for XML Schema definition language (XSD) schemas.

System.Xml.Serialization

Contains classes that are used to serialize objects into XML format documents or streams.

Windows.Foundation

Enables fundamental Windows Runtime functionality, including managing asynchronous operations, accessing property stores, and working with images and URIs.

Windows.UI

Provides a Windows Store app with access to core system functionality and run-time information about its UI.

Windows.UI.Xaml

Provides general framework API and application model API, and a variety of support classes that are commonly used by many different feature areas.

Windows.UI.Xaml.Controls.Primitives

Defines classes that represent the component parts of UI controls, or otherwise support the control composition model. Also defines interfaces for control patterns such as snapping and selection.

Windows.UI.Xaml.Media

Provides basic media support, graphics primitives, and brush-drawing APIs.

Windows.UI.Xaml.Media.Animation

Provides animation and storyboard API for transition animations, visual states, or animated UI components.

Windows.UI.Xaml.Media.Media3D

Contains types that support matrix/perspective transformation.

Microsoft.CSharp.RuntimeBinder

Contains types that support interoperation between the dynamic language runtime (DLR) and C#.

Microsoft.VisualBasic

Contains classes that support compilation and code generation using the Visual Basic language.

Microsoft.VisualBasic.CompilerServices

Contains internal-use only types that support the Visual Basic compiler.