NetXP 3.0 Reference

Settings.ReadFromFile Method 

Read from a file using binary serialization. Normally a call to this method would cast the return value to the correct type as in this example: settings = (Settings)Savior.ReadFromFile(FileName);

[Visual Basic]
Public Shared Function ReadFromFile( _
   ByVal FileName As String _
) As Object
[C#]
public static object ReadFromFile(
   string FileName
);

Parameters

FileName
The name of the file from which to read settings

Return Value

An object is returned containing the settings

See Also

Settings Class | NETXP.Library Namespace