Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As IVsPreviewChangesEngine
Dim pbstrWarning As String
Dim ppcwlWarningLevel As Integer
Dim returnValue As Integer
returnValue = instance.GetWarning(pbstrWarning, _
ppcwlWarningLevel)
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.
See Also
Reference
IVsPreviewChangesEngine Interface