RemoteComponent Constructor (IHostItemProviderExtended, IServiceProvider, String, Object, String, Type)
This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.Tools.Office
Assembly: Microsoft.Office.Tools.v9.0 (in Microsoft.Office.Tools.v9.0.dll)
Syntax
'Declaration
Protected Sub New ( _
itemProvider As IHostItemProviderExtended, _
hostContext As IServiceProvider, _
cookie As String, _
containerComponent As Object, _
identifier As String, _
innerType As Type _
)
'Usage
Dim itemProvider As IHostItemProviderExtended
Dim hostContext As IServiceProvider
Dim cookie As String
Dim containerComponent As Object
Dim identifier As String
Dim innerType As Type
Dim instance As New RemoteComponent(itemProvider, _
hostContext, cookie, containerComponent, _
identifier, innerType)
protected RemoteComponent(
IHostItemProviderExtended itemProvider,
IServiceProvider hostContext,
string cookie,
Object containerComponent,
string identifier,
Type innerType
)
Parameters
- itemProvider
Type: Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProviderExtended
- hostContext
Type: System.IServiceProvider
- cookie
Type: System.String
- containerComponent
Type: System.Object
- identifier
Type: System.String
- innerType
Type: System.Type
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.