共用方式為


ProvideSourceControlProviderAttribute Constructor

Definition

Create a registration attribute that registers an Scc provider

public:
 ProvideSourceControlProviderAttribute(System::String ^ registeredName, System::String ^ displayNameResourceId, System::String ^ registeredProvider, System::String ^ displayNamePackage, System::String ^ sccProviderService);
public:
 ProvideSourceControlProviderAttribute(Platform::String ^ registeredName, Platform::String ^ displayNameResourceId, Platform::String ^ registeredProvider, Platform::String ^ displayNamePackage, Platform::String ^ sccProviderService);
 ProvideSourceControlProviderAttribute(std::wstring const & registeredName, std::wstring const & displayNameResourceId, std::wstring const & registeredProvider, std::wstring const & displayNamePackage, std::wstring const & sccProviderService);
public ProvideSourceControlProviderAttribute (string registeredName, string displayNameResourceId, string registeredProvider, string displayNamePackage, string sccProviderService);
new Microsoft.VisualStudio.Shell.ProvideSourceControlProviderAttribute : string * string * string * string * string -> Microsoft.VisualStudio.Shell.ProvideSourceControlProviderAttribute
Public Sub New (registeredName As String, displayNameResourceId As String, registeredProvider As String, displayNamePackage As String, sccProviderService As String)

Parameters

registeredName
String

Locale invariant friendly name of the Scc provider

displayNameResourceId
String

The display name resource id

registeredProvider
String

Scc provider Guid

displayNamePackage
String

Guid of the package containing the Scc provider localized name

sccProviderService
String

Guid of the Scc provider service

Applies to