共用方式為


IVsAsyncEnum.Stop(Int32) Method

Definition

Requests that the asynchronous enumeration be stopped.

public:
 int Stop(int fSync);
public:
 int Stop(int fSync);
int Stop(int fSync);
public int Stop (int fSync);
abstract member Stop : int -> int
Public Function Stop (fSync As Integer) As Integer

Parameters

fSync
Int32

[in] Set to true if the enumeration should be stopped synchronously and false if it can be stopped asynchronously.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsAsyncEnum::Stop(  
   [in] BOOL fSync  
);  

Applies to