IOleInPlaceFrame.SetActiveObject Method (IOleInPlaceActiveObject, String)
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaración
Sub SetActiveObject ( _
pActiveObject As IOleInPlaceActiveObject, _
pszObjName As String _
)
'Uso
Dim instance As IOleInPlaceFrame
Dim pActiveObject As IOleInPlaceActiveObject
Dim pszObjName As String
instance.SetActiveObject(pActiveObject, _
pszObjName)
void SetActiveObject(
IOleInPlaceActiveObject pActiveObject,
string pszObjName
)
void SetActiveObject(
[InAttribute] IOleInPlaceActiveObject^ pActiveObject,
[InAttribute] String^ pszObjName
)
abstract SetActiveObject :
pActiveObject:IOleInPlaceActiveObject *
pszObjName:string -> unit
function SetActiveObject(
pActiveObject : IOleInPlaceActiveObject,
pszObjName : String
)
Parameters
- pActiveObject
Type: Microsoft.VisualStudio.OLE.Interop.IOleInPlaceActiveObject
- pszObjName
Type: System.String
Implements
IOleInPlaceUIWindow.SetActiveObject(IOleInPlaceActiveObject, String)
.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.