共用方式為


NetFxAdapters.WithDesktopSupport(ComposableCatalog) 方法

定義

警告

Desktop support is automatically included when run on the .NET Framework.

新增可讓MEF在 .NET Framework平臺上運作的元件。

[System.Obsolete("Desktop support is automatically included when run on the .NET Framework.")]
public static Microsoft.VisualStudio.Composition.ComposableCatalog WithDesktopSupport(this Microsoft.VisualStudio.Composition.ComposableCatalog catalog);
[<System.Obsolete("Desktop support is automatically included when run on the .NET Framework.")>]
static member WithDesktopSupport : Microsoft.VisualStudio.Composition.ComposableCatalog -> Microsoft.VisualStudio.Composition.ComposableCatalog
<Extension()>
Public Function WithDesktopSupport (catalog As ComposableCatalog) As ComposableCatalog

參數

catalog
ComposableCatalog

要新增桌面支持的目錄。

傳回

包含桌面支持的目錄。

屬性

適用於