Nevron .NET Vision
Nevron.Diagram.Extensions Namespace / NPersistencyManager Class / LoadFromFile Method
file path
persistency format
serialization filter


In This Topic
    LoadFromFile Method (NPersistencyManager)
    In This Topic
    Loads the persistent document from file in the specified format
    Syntax
    'Declaration
     
    
    Public Overridable Function LoadFromFile( _
       ByVal filePath As System.String, _
       ByVal format As PersistencyFormat, _
       ByVal filter As INSerializationFilter _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPersistencyManager
    Dim filePath As System.String
    Dim format As PersistencyFormat
    Dim filter As INSerializationFilter
    Dim value As System.Boolean
     
    value = instance.LoadFromFile(filePath, format, filter)
    public virtual System.bool LoadFromFile( 
       System.string filePath,
       PersistencyFormat format,
       INSerializationFilter filter
    )

    Parameters

    filePath
    file path
    format
    persistency format
    filter
    serialization filter

    Return Value

    true if the operation succedded, otherwise false
    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