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 _
)
‘사용 방법
Dim instance As IOleObject
Dim szContainerApp As String
Dim szContainerObj As String
instance.SetHostNames(szContainerApp, _
szContainerObj)
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: 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.