IVsPreviewChangesEngine.GetWarning(String, Int32) Methode

Definition

Ruft den Text und die Ebene für die Dialogfeldwarnung ab.

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

Parameter

pbstrWarning
String

[out] Der Warnungstext.

ppcwlWarningLevel
Int32

[out] Ein __PREVIEWCHANGESWARNINGLEVEL-Wert, der die Warnungsebene angibt.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Aus vsshell80. idl:

HRESULT GetWarning(  
    [out] BSTR *pbstrWarning,  
    [out] PREVIEWCHANGESWARNINGLEVEL *ppcwlWarningLevel  
);  

Gilt für