IVsThreadedWaitDialog2.HasCanceled(Boolean) 方法

定义

确定对话框是否已取消。

public:
 int HasCanceled([Runtime::InteropServices::Out] bool % pfCanceled);
int HasCanceled([Runtime::InteropServices::Out] bool & pfCanceled);
public int HasCanceled (out bool pfCanceled);
abstract member HasCanceled :  -> int
Public Function HasCanceled (ByRef pfCanceled As Boolean) As Integer

参数

pfCanceled
Boolean

[out] true 如果对话框已取消,则为; 否则为 false

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于