次の方法で共有


IOleInPlaceUIWindow.SetActiveObject(IOleInPlaceActiveObject, String) Method

Definition

public:
 void SetActiveObject(Microsoft::VisualStudio::OLE::Interop::IOleInPlaceActiveObject ^ pActiveObject, System::String ^ pszObjName);
public:
 void SetActiveObject(Microsoft::VisualStudio::OLE::Interop::IOleInPlaceActiveObject ^ pActiveObject, Platform::String ^ pszObjName);
void SetActiveObject(Microsoft::VisualStudio::OLE::Interop::IOleInPlaceActiveObject const & pActiveObject, std::wstring const & pszObjName);
public void SetActiveObject (Microsoft.VisualStudio.OLE.Interop.IOleInPlaceActiveObject pActiveObject, string pszObjName);
abstract member SetActiveObject : Microsoft.VisualStudio.OLE.Interop.IOleInPlaceActiveObject * string -> unit
Public Sub SetActiveObject (pActiveObject As IOleInPlaceActiveObject, pszObjName As String)

Parameters

pActiveObject
IOleInPlaceActiveObject
pszObjName
String

Remarks

For information on the COM interface, see IOleInPlaceUIWindow::SetActiveObject

Applies to