共用方式為


IServiceProvider.QueryService(Guid, Guid, IntPtr) Method

Definition

public:
 int QueryService(Guid % guidService, Guid % riid, [Runtime::InteropServices::Out] IntPtr % ppvObject);
public int QueryService (ref Guid guidService, ref Guid riid, out IntPtr ppvObject);
abstract member QueryService : Guid * Guid * nativeint -> int
Public Function QueryService (ByRef guidService As Guid, ByRef riid As Guid, ByRef ppvObject As IntPtr) As Integer

Parameters

guidService
Guid
riid
Guid
ppvObject
IntPtr

nativeint

Returns

Remarks

This method is safe to access from any thread.

Applies to