EntryPointInfo Constructor
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the EntryPointInfo structure.
Namespace: Microsoft.VisualStudio.Tools.Applications.Contract
Assembly: Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll)
Syntax
'Declaration
Public Sub New ( _
hostServiceProvider As IServiceProviderContract, _
assemblyName As String, _
entryPoints As String() _
)
'Usage
Dim hostServiceProvider As IServiceProviderContract
Dim assemblyName As String
Dim entryPoints As String()
Dim instance As New EntryPointInfo(hostServiceProvider, _
assemblyName, entryPoints)
public EntryPointInfo(
IServiceProviderContract hostServiceProvider,
string assemblyName,
string[] entryPoints
)
public:
EntryPointInfo(
IServiceProviderContract^ hostServiceProvider,
String^ assemblyName,
array<String^>^ entryPoints
)
public function EntryPointInfo(
hostServiceProvider : IServiceProviderContract,
assemblyName : String,
entryPoints : String[]
)
Parameters
hostServiceProvider
Type: System.AddIn.Contract.IServiceProviderContractThe service provider that contains a service that the host provides. An add-in can query for either the IHostItemProviderContract2 or IHostTypeProviderContract services.
assemblyName
Type: System.StringThe name of the add-in assembly. The file path is not included.
entryPoints
Type: array<System.String[]An array that contains the names of the classes in the add-in that Visual Studio Tools for Applications instantiates when the host application loads the add-in.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.Contract Namespace