Visual Basic (Declaration) | |
---|---|
Public Shared Function Failed( _ ByVal hresultcode As Integer _ ) As Boolean |
C# | |
---|---|
public static bool Failed( int hresultcode ) |
Parameters
- hresultcode
- HRESULTS error/success code.
Return Value
returns true if the HRESULTS code is an error code.Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x