IHostItemProvider.SetHostObjectOnExtender Method (2003 System)
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.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
Sub SetHostObjectOnExtender ( _
primaryType As String, _
extenderCookie As String, _
primaryHostObject As Object _
)
'Usage
Dim instance As IHostItemProvider
Dim primaryType As String
Dim extenderCookie As String
Dim primaryHostObject As Object
instance.SetHostObjectOnExtender(primaryType, _
extenderCookie, primaryHostObject)
void SetHostObjectOnExtender(
string primaryType,
string extenderCookie,
Object primaryHostObject
)
Parameters
- primaryType
Type: System.String
- extenderCookie
Type: System.String
- primaryHostObject
Type: System.Object
Permissions
- 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.