Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the dialog warning text and level.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetWarning ( _
<OutAttribute> ByRef pbstrWarning As String, _
<OutAttribute> ByRef ppcwlWarningLevel As Integer _
) As Integer
int GetWarning(
out string pbstrWarning,
out int ppcwlWarningLevel
)
int GetWarning(
[OutAttribute] String^% pbstrWarning,
[OutAttribute] int% ppcwlWarningLevel
)
abstract GetWarning :
pbstrWarning:string byref *
ppcwlWarningLevel:int byref -> int
function GetWarning(
pbstrWarning : String,
ppcwlWarningLevel : int
) : int
Parameters
pbstrWarning
Type: System.String%[out] The warning text.
ppcwlWarningLevel
Type: System.Int32%[out] A __PREVIEWCHANGESWARNINGLEVEL value specifying the warning level.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT GetWarning(
[out] BSTR *pbstrWarning,
[out] PREVIEWCHANGESWARNINGLEVEL *ppcwlWarningLevel
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.