Partilhar via


ProvideCodeContainerProviderAttribute Constructor

Definition

Create a registration attribute that registers a code container provider

public:
 ProvideCodeContainerProviderAttribute(System::String ^ registeredName, System::String ^ displayNamePackageGuid, System::String ^ imageMonikerGuid, int imageMonikerId, System::String ^ displayNameResourceId, System::String ^ displayDetailResourceId, Type ^ providerType);
public:
 ProvideCodeContainerProviderAttribute(Platform::String ^ registeredName, Platform::String ^ displayNamePackageGuid, Platform::String ^ imageMonikerGuid, int imageMonikerId, Platform::String ^ displayNameResourceId, Platform::String ^ displayDetailResourceId, Platform::Type ^ providerType);
public ProvideCodeContainerProviderAttribute (string registeredName, string displayNamePackageGuid, string imageMonikerGuid, int imageMonikerId, string displayNameResourceId, string displayDetailResourceId, Type providerType);
new Microsoft.VisualStudio.Shell.ProvideCodeContainerProviderAttribute : string * string * string * int * string * string * Type -> Microsoft.VisualStudio.Shell.ProvideCodeContainerProviderAttribute
Public Sub New (registeredName As String, displayNamePackageGuid As String, imageMonikerGuid As String, imageMonikerId As Integer, displayNameResourceId As String, displayDetailResourceId As String, providerType As Type)

Parameters

registeredName
String

Locale invariant friendly name of the code container provider

displayNamePackageGuid
String

Guid of the package containing the code container provider localized name

imageMonikerGuid
String

Registered image moniker guid for the code container provider

imageMonikerId
Int32

Registered image moniker id for the code container provider

displayNameResourceId
String

The resource id of the localized display name of the provider

displayDetailResourceId
String

The resource id of the localized display detail of the provider

providerType
Type

Applies to