IOleObject.SetHostNames Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣告
Sub SetHostNames ( _
szContainerApp As String, _
szContainerObj As String _
)
void SetHostNames(
string szContainerApp,
string szContainerObj
)
Parameters
- szContainerApp
Type: System.String
- szContainerObj
Type: System.String
Remarks
For information on the COM interface, see IOleObject::SetHostNames
.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.