IHostItemProviderExtendedContract.SetHostObjectOnExtender Method
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.Contract
Assembly: Microsoft.VisualStudio.Tools.Office.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Office.Contract.v9.0.dll)
Syntax
'Declaration
Sub SetHostObjectOnExtender ( _
primaryType As String, _
extenderCookie As String, _
controlHandle As IntPtr _
)
'Usage
Dim instance As IHostItemProviderExtendedContract
Dim primaryType As String
Dim extenderCookie As String
Dim controlHandle As IntPtr
instance.SetHostObjectOnExtender(primaryType, _
extenderCookie, controlHandle)
void SetHostObjectOnExtender(
string primaryType,
string extenderCookie,
IntPtr controlHandle
)
Parameters
- primaryType
Type: System.String
- extenderCookie
Type: System.String
- controlHandle
Type: System.IntPtr
.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.
See Also
Reference
IHostItemProviderExtendedContract Interface