IVsPreviewChangesEngine.GetWarning(String, Int32) Método

Definição

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

Int32

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  
);  

Aplica-se a