OPC Studio User's Guide and Reference
Success(Object) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > ValueResult Class > Success Method : Success(Object) Method
A value that is a successful result of the operation.

The value of this parameter can be null (Nothing in Visual Basic).

Returns a successful value result with given value.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Success( _
   ByVal value As Object _
) As ValueResult
'Usage
 
Dim value As Object
Dim value As ValueResult
 
value = ValueResult.Success(value)
[NotNull()]
public static ValueResult Success( 
   object value
)
[NotNull()]
public:
static ValueResult^ Success( 
   Object^ value
) 

Parameters

value
A value that is a successful result of the operation.

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

The successful value result.

This method never returns null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also