WMEncProfile2.LoadFromMemory
![]() |
The LoadFromMemory method loads a profile from an XML string, which contains the profile data.
Syntax
WMEncProfile2.LoadFromMemory(strData)
Parameters
strData
[in] String containing the data.
Return Values
This method does not return a value.
Remarks
For an example of the XML format required for the strData string, run the example code for the SaveToMemory method.
Example Code
' Create a WMEncProfile2 object.
Dim Pro As WMEncProfile2
Set Pro = New WMEncProfile2
' Load the profile from a string sProString.
Pro.LoadFromMemory sProString
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also
.gif)