ExportLanguageServiceFactoryAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用這個屬性來宣告 ILanguageServiceFactory 實作以包含在 MEF 型工作區中。
public ref class ExportLanguageServiceFactoryAttribute : System::Composition::ExportAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Composition.MetadataAttribute]
public class ExportLanguageServiceFactoryAttribute : System.Composition.ExportAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Composition.MetadataAttribute>]
type ExportLanguageServiceFactoryAttribute = class
inherit ExportAttribute
Public Class ExportLanguageServiceFactoryAttribute
Inherits ExportAttribute
- 繼承
-
ExportLanguageServiceFactoryAttribute
- 屬性
建構函式
ExportLanguageServiceFactoryAttribute(Type, String, String) |
ILanguageServiceFactory宣告實作以包含在 MEF 型工作區中。 |
屬性
Language |
服務的目的語言;LanguageNames.CSharp 等。 |
Layer |
為服務指定的圖層;ServiceLayer.Default 等。 |
ServiceType |
服務的型別元件限定名稱。 |