次の方法で共有


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

Remarks

For information on the COM interface, see IOleObject::SetHostNames

.NET Framework Security

See Also

Reference

IOleObject Interface

IOleObject Members

Microsoft.VisualStudio.OLE.Interop Namespace