OPCDA.NET Reference Manual
Succeeded Method
See Also  Send Feedback
OpcNetBase.Net4 Assembly > OPC Namespace > HRESULTS Class : Succeeded Method

hresultcode
HRESULTS error/success code.

Glossary Item Box

The function returns true if the HRESULTS code is a success code such as S_OK or S_FALSE.

Syntax

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.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.