IVsCommonMessagePump.SetAllowCancel(Boolean) Método

Definição

Especifica se um botão de cancelamento deve ser exibido n da caixa de diálogo de espera.

public:
 int SetAllowCancel(bool fAllowCancel);
public:
 int SetAllowCancel(bool fAllowCancel);
int SetAllowCancel(bool fAllowCancel);
public int SetAllowCancel (bool fAllowCancel);
abstract member SetAllowCancel : bool -> int
Public Function SetAllowCancel (fAllowCancel As Boolean) As Integer

Parâmetros

fAllowCancel
Boolean

Se true , o botão Cancelar deverá aparecer, caso contrário false .

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Aplica-se a