'Declaration
Public Shared Function FromBits( _ ByVal read As Boolean, _ ByVal write As Boolean, _ ByVal eraseExisting As Boolean, _ ByVal append As Boolean _ ) As UAOpenFileModes
'Usage
Dim read As Boolean Dim write As Boolean Dim eraseExisting As Boolean Dim append As Boolean Dim value As UAOpenFileModes value = UAOpenFileModesUtilities.FromBits(read, write, eraseExisting, append)
public static UAOpenFileModes FromBits( bool read, bool write, bool eraseExisting, bool append )
public: static UAOpenFileModes FromBits( bool read, bool write, bool eraseExisting, bool append )
Parameters
- read
- Whether the file should be opened for reading.
- write
- Whether the file should be opened for writing.
- eraseExisting
- Whether to erase existing content of the file.
- append
- Whether to open at the end of the file (intended for writing).
Return Value
Returns OPC UA open file modes enumeration value that represents the bits specified in the input arguments.