PropsSet Method (IMFProps)
property's name (full name with all nodes)
property's value
Sets a current property's value
Syntax
Sub PropsSet( _
   ByVal _bsPropName As String, _
   ByVal _bsPropValue As String _
) 
procedure PropsSet( 
    _bsPropName: String;
    _bsPropValue: String
); 
void PropsSet( 
   BSTR* _bsPropName,
   BSTR* _bsPropValue
) 

Parameters

_bsPropName
property's name (full name with all nodes)
_bsPropValue
property's value
Example

Here is an example of how to select a video track for a file:

// Set video track by index
m_objMFReader.PropsSet("video_track", comboBoxVideoTrack.SelectedIndex.ToString());
// where comboBoxVideoTrack is a combobox with available video tracks)
See Also

Reference

IMFProps Interface
IMFProps Members