IVsPreviewChangesEngine.GetWarning(String, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém o texto e o nível de aviso da caixa de diálogo.
public:
int GetWarning([Runtime::InteropServices::Out] System::String ^ % pbstrWarning, [Runtime::InteropServices::Out] int % ppcwlWarningLevel);
int GetWarning([Runtime::InteropServices::Out] std::wstring const & & pbstrWarning, [Runtime::InteropServices::Out] int & ppcwlWarningLevel);
public int GetWarning (out string pbstrWarning, out int ppcwlWarningLevel);
abstract member GetWarning : string * int -> int
Public Function GetWarning (ByRef pbstrWarning As String, ByRef ppcwlWarningLevel As Integer) As Integer
Parâmetros
- pbstrWarning
- String
fora O texto de aviso.
- ppcwlWarningLevel
- Int32
fora Um __PREVIEWCHANGESWARNINGLEVEL valor que especifica o nível de aviso.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Comentários
Assinatura COM
De vsshell80. idl:
HRESULT GetWarning(
[out] BSTR *pbstrWarning,
[out] PREVIEWCHANGESWARNINGLEVEL *ppcwlWarningLevel
);