OPC Studio User's Guide and Reference
DisplayString Property (_AliasInfo)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Aliasing.ComTypes Namespace > _AliasInfo Interface : DisplayString Property
The display string for the current object.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DispIdAttribute(0)>
<ImplementedThroughAttribute(System.Object, "ToString")>
ReadOnly Property DisplayString As String
'Usage
 
Dim instance As _AliasInfo
Dim value As String
 
value = instance.DisplayString
[CanBeNull()]
[DispId(0)]
[ImplementedThrough(System.Object, "ToString")]
string DisplayString {get;}
[CanBeNull()]
[DispId(0)]
[ImplementedThrough(System.Object, "ToString")]
property String^ DisplayString {
   String^ get();
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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