Version

FromObject Method

Creates a new instance of a PresetSerializer based on a target object
Syntax
'Declaration
 
Public Shared Function FromObject( _
   ByVal source As ISupportPresets, _
   ByVal presetType As PresetType _
) As PresetSerializer
public static PresetSerializer FromObject( 
   ISupportPresets source,
   PresetType presetType
)

Parameters

source
The ISupportPresets object from which the data will be taken
presetType
Specifies which properties of the object to read

Return Value

A new PresetSerializer instance
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also