Nevron .NET Vision
Nevron.Serialization Namespace / NSerializer Class / SaveToFile Method


In This Topic
    SaveToFile Method (NSerializer)
    In This Topic
    Saves the passed object to a file in the specified persistency format.
    Syntax
    'Declaration
     
    
    Public Sub SaveToFile( _
       ByVal root As System.Object, _
       ByVal filePath As System.String, _
       ByVal format As PersistencyFormat, _
       ByVal filter As INSerializationFilter _
    ) 
    'Usage
     
    
    Dim instance As NSerializer
    Dim root As System.Object
    Dim filePath As System.String
    Dim format As PersistencyFormat
    Dim filter As INSerializationFilter
     
    instance.SaveToFile(root, filePath, format, filter)
    public void SaveToFile( 
       System.object root,
       System.string filePath,
       PersistencyFormat format,
       INSerializationFilter filter
    )

    Parameters

    root
    filePath
    format
    filter
    Requirements

    Target Platforms: 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