MFORMATSLib Namespace > MFLiveClass Class : PropsSet Method |
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 )
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)