Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether an HRESULT is a success return code.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function Succeeded ( _
hr As Integer _
) As Boolean
public static bool Succeeded(
int hr
)
public:
static bool Succeeded(
int hr
)
static member Succeeded :
hr:int -> bool
public static function Succeeded(
hr : int
) : boolean
Parameters
- hr
Type: System.Int32
The HRESULT to test.
Return Value
Type: System.Boolean
true if hr represents a success otherwise false.
.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
Microsoft.VisualStudio Namespace