次の方法で共有


IOleInPlaceFrame.SetActiveObject Method (IOleInPlaceActiveObject, String)

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣言
Sub SetActiveObject ( _
    pActiveObject As IOleInPlaceActiveObject, _
    pszObjName As String _
)
void SetActiveObject(
    IOleInPlaceActiveObject pActiveObject,
    string pszObjName
)

Parameters

.NET Framework Security

See Also

Reference

IOleInPlaceFrame Interface

SetActiveObject Overload

Microsoft.VisualStudio.OLE.Interop Namespace