IOleObject.SetHostNames Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub SetHostNames ( _
szContainerApp As String, _
szContainerObj As String _
)
void SetHostNames(
string szContainerApp,
string szContainerObj
)
void SetHostNames(
[InAttribute] String^ szContainerApp,
[InAttribute] String^ szContainerObj
)
abstract SetHostNames :
szContainerApp:string *
szContainerObj:string -> unit
function SetHostNames(
szContainerApp : String,
szContainerObj : String
)
Parameters
- szContainerApp
Type: String
- szContainerObj
Type: 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.