PersistLoad Method (MMixerClass)
name of the loading object
source string or full path of file to be loaded
parameters of loading
Loads the data from string or from file.
Syntax
Public Overridable Sub PersistLoad( _
   ByVal _bsObject As String, _
   ByVal _bsXMLDescOrFile As String, _
   ByVal _bsLoadParam As String _
) 
public virtual void PersistLoad( 
   string _bsObject,
   string _bsXMLDescOrFile,
   string _bsLoadParam
)
public procedure PersistLoad( 
    _bsObject: String;
    _bsXMLDescOrFile: String;
    _bsLoadParam: String
); virtual; 
public: virtual void PersistLoad( 
   BSTR* _bsObject,
   BSTR* _bsXMLDescOrFile,
   BSTR* _bsLoadParam
) 

Parameters

_bsObject
name of the loading object
_bsXMLDescOrFile
source string or full path of file to be loaded
_bsLoadParam
parameters of loading
Example
'load scenes from file
Dim fileDialog As New OpenFileDialog()
If fileDialog.ShowDialog(Me) = DialogResult.OK Then
DirectCast(m_pScenes, IMPersist).PersistLoad("", fileDialog.FileName, "")
FillScenes()
End If
//load scenes from file
OpenFileDialog fileDialog = new OpenFileDialog();
if (fileDialog.ShowDialog(this) == DialogResult.OK)
{
((IMPersist)m_pScenes).PersistLoad("", fileDialog.FileName, "");
FillScenes();
} 
myMixer:= CreateComObject(CLASS_MMixer) as MMixer;
myPersist:= myMixer as IMPersist;
myPersist.PersistLoad('', 'c:\myConfig.xml', '');
See Also

Reference

MMixerClass Class
MMixerClass Members