DataPA Enterprise Dashboard Controls API Reference
Serializes a UserPreferences object to a binary array.

Namespace: DataPAServerSecurity
Assembly: DataPAServerSecurity (in DataPAServerSecurity.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static byte[] SerializeToByteArray(
	UserPreferences UserPreferences
)
Visual Basic
Public Shared Function SerializeToByteArray ( 
	UserPreferences As UserPreferences
) As Byte()
Visual C++
public:
static array<unsigned char>^ SerializeToByteArray(
	UserPreferences^ UserPreferences
)

Parameters

UserPreferences
Type: DataPAServerSecurity..::..UserPreferences
The object you want to serialize.

Return Value

Type: array<Byte>[]()[][]
A binary array that can be deserialized using the DeserializeFromByteArray function.

Remarks