QuickOPC User's Guide and Reference
ToString(String) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAAttributeData Class > ToString Method : ToString(String) Method
A standard or custom format string (see Remarks).
Converts the value of the current object to its equivalent string representation using the specified format.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Function ToString( _
   ByVal format As String _
) As String
'Usage
 
Dim instance As UAAttributeData
Dim format As String
Dim value As String
 
value = instance.ToString(format)
[NotNull()]
public string ToString( 
   string format
)
[NotNull()]
public:
String^ ToString( 
   String^ format
) 

Parameters

format
A standard or custom format string (see Remarks).

Return Value

A string representation of value of the current object as specified by format.
Remarks

The format parameter should contain either a standard format specifier or a custom format pattern that defines the format of the returned string. If format is null or an empty string, the general format specifier, 'G', is used.

This method uses formatting information derived from the current culture.

Requirements

Target Platforms: .NET Framework: Windows 7 with SP1, Windows Server 2012; .NET Core: Linux, Microsoft Windows

See Also

Reference

UAAttributeData Class
UAAttributeData Members
Overload List