OPCDA.NET Reference Manual
ValueToString Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcDataBind Class : ValueToString Method

item
Subscription data for the item.
val
Current item value.

Glossary Item Box

This method is intended for use in DataBind Extension callback handlers.
Converts the item value object into a string. The optional format specifications and linear transformation are applied.

Syntax

Visual Basic (Declaration) 
Public Function ValueToString( _
   ByVal item As Subscription, _
   ByVal val As Object _
) As String
C# 
public string ValueToString( 
   Subscription item,
   object val
)

Parameters

item
Subscription data for the item.
val
Current item value.

Return Value

HRESULT success/error 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.