NetFxAdapters.WithDesktopSupport(ComposableCatalog) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
要新增桌面支持的目錄。
傳回
包含桌面支持的目錄。
- 屬性