DeviceSet Method (MFRendererClass)
device's type
index of a device
additional parameters
Sets a device of the specified type.
Syntax
Public Overridable Sub DeviceSet( _
   ByVal _eDevType As eMFDeviceType, _
   ByVal _nIndex As Integer, _
   ByVal _bsParam As String _
) 
public virtual void DeviceSet( 
   eMFDeviceType _eDevType,
   int _nIndex,
   string _bsParam
)
public procedure DeviceSet( 
    _eDevType: eMFDeviceType;
    _nIndex: Integer;
    _bsParam: String
); virtual; 
public: virtual void DeviceSet( 
   eMFDeviceType _eDevType,
   int _nIndex,
   BSTR* _bsParam
) 

Parameters

_eDevType
device's type
_nIndex
index of a device
_bsParam
additional parameters
Example

Here is an example of how to set a video device:

m_objLive.DeviceSet(eMFDeviceType.eMFDT_Video, comboBoxV.SelectedIndex, "");
See Also

Reference

MFRendererClass Class
MFRendererClass Members