Share via


ExportFileContextProviderAttribute Constructors

Definition

Overloads

ExportFileContextProviderAttribute(String, String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

ExportFileContextProviderAttribute(String, ProviderPriority, String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

ExportFileContextProviderAttribute(String, ProviderPriority, Type[], String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

ExportFileContextProviderAttribute(FileContextProviderOptions, String, ProviderPriority, Type[], String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

ExportFileContextProviderAttribute(String, String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

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

Parameters

type
String

The unique type for this IFileContextProviderMetadata

supportedContextTypeGuids
String[]

A collection of the values that may be produced for ContextType by this provider.

Applies to

ExportFileContextProviderAttribute(String, ProviderPriority, String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

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

Parameters

type
String

The unique type for this IFileContextProviderMetadata

priority
ProviderPriority

The provider priority

supportedContextTypeGuids
String[]

A collection of the values that may be produced for ContextType by this provider.

Applies to

ExportFileContextProviderAttribute(String, ProviderPriority, Type[], String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

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

Parameters

type
String

The unique type for this IFileContextProviderMetadata

priority
ProviderPriority

The provider priority

supportedGetContextsTypes
Type[]

Supported GetContexts types

supportedContextTypeGuids
String[]

A collection of the values that may be produced for ContextType by this provider.

Applies to

ExportFileContextProviderAttribute(FileContextProviderOptions, String, ProviderPriority, Type[], String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

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

Parameters

options
FileContextProviderOptions

FileContextProvider Options

type
String

The unique type for this IFileContextProviderMetadata

priority
ProviderPriority

The provider priority

supportedGetContextsTypes
Type[]

Supported GetContexts types

supportedContextTypeGuids
String[]

A collection of the values that may be produced for ContextType by this provider.

Applies to