VeriStand .NET API Reference

DataValue.ToBestInt Method

Returns a DataValue object representing an I32Value, U32Value, I64Value, or U64Value.

Namespace: NationalInstruments.VeriStand.Data
Assembly: NationalInstruments.VeriStand.DataTypes (in NationalInstruments.VeriStand.DataTypes.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Shared Function ToBestInt ( _
	value As String _
) As DataValue
C#
public static DataValue ToBestInt(
	string value
)
Visual C++
public:
static DataValue^ ToBestInt(
	String^ value
)

Parameters

value
Type: System.String
An integer representation.

Return Value

A DataValue object representing an I32Value, U32Value, I64Value, or U64Value.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException Unable to determine data type of value. Ensure that the string value is an integer.

See Also

Log in to get a better experience