共用方式為


ExportWorkspaceServiceFactoryAttribute 類別

定義

使用這個屬性來宣告 IWorkspaceServiceFactory 實作以包含在 MEF 型工作區中。

public ref class ExportWorkspaceServiceFactoryAttribute : System::Composition::ExportAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Composition.MetadataAttribute]
public class ExportWorkspaceServiceFactoryAttribute : System.Composition.ExportAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Composition.MetadataAttribute>]
type ExportWorkspaceServiceFactoryAttribute = class
    inherit ExportAttribute
Public Class ExportWorkspaceServiceFactoryAttribute
Inherits ExportAttribute
繼承
ExportWorkspaceServiceFactoryAttribute
屬性

建構函式

ExportWorkspaceServiceFactoryAttribute(Type, String)

IWorkspaceServiceFactory宣告實作以包含在 MEF 型工作區中。

屬性

Layer

服務所指定的圖層;ServiceLayer.Default 等

ServiceType

服務的型別元件限定名稱。

適用於