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