共用方式為


IOleComponentManager.QueryService(Guid, Guid, IntPtr) Method

Definition

public:
 void QueryService(Guid % guidService, Guid % iid, [Runtime::InteropServices::Out] IntPtr % ppvObj);
public void QueryService (ref Guid guidService, ref Guid iid, out IntPtr ppvObj);
abstract member QueryService : Guid * Guid * nativeint -> unit
Public Sub QueryService (ByRef guidService As Guid, ByRef iid As Guid, ByRef ppvObj As IntPtr)

Parameters

guidService
Guid
iid
Guid
ppvObj
IntPtr

nativeint

Applies to