OPC Studio User's Guide and Reference
DisplayName Property (TypeMemberInfo)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > TypeMemberInfo Class : DisplayName Property
Specifies the display name for a member or data type.
Syntax
'Declaration
 
<DataMemberAttribute()>
<NotNullAttribute()>
Public Property DisplayName As String
'Usage
 
Dim instance As TypeMemberInfo
Dim value As String
 
instance.DisplayName = value
 
value = instance.DisplayName
[DataMember()]
[NotNull()]
public string DisplayName {get; set;}
[DataMember()]
[NotNull()]
public:
property String^ DisplayName {
   String^ get();
   void set (    String^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

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