共用方式為


MEF for .NET - Windows Store Apps

System.Composition and its child namespaces contain types for developing extensible Windows 8.x Store apps with Managed Extensibility Framework (MEF). These namespaces are part of the .NET for Windows 8.x Store apps subset for the Windows 8 operating system.

These namespaces are not part of the core class library distributed with the .NET Framework. To install these namespaces, open your project in Visual Studio, choose Manage NuGet Packages from the Project menu, and search online for the Microsoft.Composition package.

For more information about .NET for Windows 8.x Store apps and a list of namespaces and types that it contains, see .NET for Windows Store apps overview.

See also