QuickOPC User's Guide and Reference
StringFormat Property (LinkingTarget)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace > LinkingTarget Class : StringFormat Property
A string that specifies how to format the linked value. A null reference means no formatting.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DefaultValueAttribute("")>
Public Property StringFormat As String
'Usage
 
Dim instance As LinkingTarget
Dim value As String
 
instance.StringFormat = value
 
value = instance.StringFormat
[CanBeNull()]
[DefaultValue("")]
public string StringFormat {get; set;}
[CanBeNull()]
[DefaultValue("")]
public:
property String^ StringFormat {
   String^ get();
   void set (    String^ value);
}
Remarks
The format string can contain following placeholders:
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