Udostępnij za pośrednictwem


ExportLanguageServiceProviderAttribute Constructor

Definition

Initializes a new instance of the ExportLanguageServiceProviderAttribute class.

public:
 ExportLanguageServiceProviderAttribute(System::String ^ type, Microsoft::VisualStudio::Workspace::ProviderPriority priority, ... cli::array <System::String ^> ^ supportedContextTypeGuids);
public ExportLanguageServiceProviderAttribute (string type, Microsoft.VisualStudio.Workspace.ProviderPriority priority, params string[] supportedContextTypeGuids);
new Microsoft.VisualStudio.Workspace.Intellisense.ExportLanguageServiceProviderAttribute : string * Microsoft.VisualStudio.Workspace.ProviderPriority * string[] -> Microsoft.VisualStudio.Workspace.Intellisense.ExportLanguageServiceProviderAttribute
Public Sub New (type As String, priority As ProviderPriority, ParamArray supportedContextTypeGuids As String())

Parameters

type
String

The unique type for this ILanguageServiceProviderMetadata

priority
ProviderPriority

The provider priority

supportedContextTypeGuids
String[]

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

Applies to