PropsSet Method (MFRendererClass)
property's name (full name with all nodes)
property's value
Sets a current property's value
Syntax
Public Overridable Sub PropsSet( _
   ByVal _bsPropName As String, _
   ByVal _bsPropValue As String _
) 
public virtual void PropsSet( 
   string _bsPropName,
   string _bsPropValue
)
public procedure PropsSet( 
    _bsPropName: String;
    _bsPropValue: String
); virtual; 
public: virtual 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

MFRendererClass Class
MFRendererClass Members