OPC Studio User's Guide and Reference
MaximumStringLengthInt32 Property (UAFieldMetaData)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAFieldMetaData Class : MaximumStringLengthInt32 Property
Specifies the maximum supported length of a String or ByteString.
Syntax
'Declaration
 
<ColumnDisplayAttribute(MaximumWidth=10, RefinementRank=2)>
<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)>
<DefaultValueAttribute(0)>
<DisplayAttribute(AutoGenerateField=False, 
   Order=108, 
   ShortName="Maximum String Length Int32")>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<XmlIgnoreAttribute()>
Public Property MaximumStringLengthInt32 As Integer
'Usage
 
Dim instance As UAFieldMetaData
Dim value As Integer
 
instance.MaximumStringLengthInt32 = value
 
value = instance.MaximumStringLengthInt32
[ColumnDisplay(MaximumWidth=10, RefinementRank=2)]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[DefaultValue(0)]
[Display(AutoGenerateField=false, 
   Order=108, 
   ShortName="Maximum String Length Int32")]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[XmlIgnore()]
public int MaximumStringLengthInt32 {get; set;}
[ColumnDisplay(MaximumWidth=10, RefinementRank=2)]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[DefaultValue(0)]
[Display(AutoGenerateField=false, 
   Order=108, 
   ShortName="Maximum String Length Int32")]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[XmlIgnore()]
public:
property int MaximumStringLengthInt32 {
   int get();
   void set (    int value);
}
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