OPC Studio User's Guide and Reference
Size Property (UAFileProperties)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.FileTransfer Namespace > UAFileProperties Class : Size Property
The size of the file, in bytes.
Syntax
'Declaration
 
<DefaultValueAttribute(0)>
Public Property Size As Long
'Usage
 
Dim instance As UAFileProperties
Dim value As Long
 
instance.Size = value
 
value = instance.Size
[DefaultValue(0)]
public long Size {get; set;}
[DefaultValue(0)]
public:
property int64 Size {
   int64 get();
   void set (    int64 value);
}
Remarks

This property corresponds to a mandatory OPC UA property on the FileType object - see .

"When a file is opened for write the size might not be accurate."

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