OPC Studio User's Guide and Reference
FromString Method (UADataSetWriterDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetWriterDescriptor Class : FromString Method
A name of the dataset writer.

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

Converts a name into a dataset writer descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Shared Function FromString( _
   ByVal name As String _
) As UADataSetWriterDescriptor
'Usage
 
Dim name As String
Dim value As UADataSetWriterDescriptor
 
value = UADataSetWriterDescriptor.FromString(name)
[CanBeNull()]
public static UADataSetWriterDescriptor FromString( 
   string name
)
[CanBeNull()]
public:
static UADataSetWriterDescriptor^ FromString( 
   String^ name
) 

Parameters

name
A name of the dataset writer.

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

Return Value

Returns a dataset writer descriptor with the specified name; returns null if a null name has been passed in.

This method can return null (Nothing in Visual Basic).

Remarks

In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this method explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.

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