PropsSet Method (MRendererClass)
name of property
value of property
Sets the property.
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
name of property
_bsPropValue
value of property
Remarks

Example

Here is example of how to get playlist item and set value of its property:

Dim myPlaylist As New MPlaylistClass()
myPlaylist.ObjectStart(New Object())
Dim myIndex As Integer = -1
Dim myItem As MItem
myPlaylist.PlaylistAdd(Nothing, "c:\mySourceFile.mp4", "", myIndex, myItem)
myPlaylist.FilePlayStart()
DirectCast(myItem, IMProps).PropsSet("loop", "true")
MPlaylistClass myPlaylist = new MPlaylistClass();
myPlaylist.ObjectStart(new object());
int myIndex = -1;
MItem myItem;
myPlaylist.PlaylistAdd(null, @"c:\mySourceFile.mp4", "", ref myIndex, out myItem);
myPlaylist.FilePlayStart();
((IMProps)myItem).PropsSet("loop", "true");
var
m_objWriter: IMWriter;
myPlaylist: IMPlaylist;
myIndex: integer;
myItem: MItem;
myFile: IMFile;
myProps: IMProps;
begin
//configure playlist
myPlaylist:= CreateComObject(CLASS_MPlaylist) as IMPlaylist;
myFile:= myPlaylist as IMFile;
myIndex:=-1;
myPlaylist.PlaylistAdd(nil, 'c:\mySourceFile.mp4', '', myIndex, myItem);
myFile.FilePlayStart();
myProps:= myItem as IMProps;
myProps.PropsSet('loop', 'true');
end;
See Also

Reference

MRendererClass Class
MRendererClass Members