Condividi tramite


ExportLanguageServiceProviderAttribute Class

Definition

Exports an ILanguageServiceProvider to the MEF catalog with metadata as described by ILanguageServiceProviderMetadata.

public ref class ExportLanguageServiceProviderAttribute : Microsoft::VisualStudio::Workspace::ExportProviderAttributeBase, Microsoft::VisualStudio::Workspace::Intellisense::ILanguageServiceProviderMetadata
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ExportLanguageServiceProviderAttribute : Microsoft.VisualStudio.Workspace.ExportProviderAttributeBase, Microsoft.VisualStudio.Workspace.Intellisense.ILanguageServiceProviderMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExportLanguageServiceProviderAttribute = class
    inherit ExportProviderAttributeBase
    interface ILanguageServiceProviderMetadata
    interface IFileContextConsumerMetadata
    interface IProviderMetadataBase
Public Class ExportLanguageServiceProviderAttribute
Inherits ExportProviderAttributeBase
Implements ILanguageServiceProviderMetadata
Inheritance
ExportLanguageServiceProviderAttribute
Attributes
Implements

Constructors

ExportLanguageServiceProviderAttribute(String, ProviderPriority, String[])

Initializes a new instance of the ExportLanguageServiceProviderAttribute class.

Properties

OptionFlags

The Options defined for this metadata as flags attribute

(Inherited from ExportProviderAttributeBase)
OptionFlagsInternal

Return the options flags internal

Priority

Provider priority

(Inherited from ExportProviderAttributeBase)
SupportedContextTypes

Gets a collection of GUIDs that identify the ContextType values that this language service can initialize from.

Type

The Unique Type for this Provider

(Inherited from ExportProviderAttributeBase)
Version

Version tracking

(Inherited from ExportProviderAttributeBase)

Applies to