PropsGet Method (MWriterClass)
name of the property
value of the property
Gets the properties.
Syntax
Public Overridable Sub PropsGet( _
   ByVal _bsPropName As String, _
   ByRef _pbsPropValue As String _
) 
public virtual void PropsGet( 
   string _bsPropName,
   out string _pbsPropValue
)
public procedure PropsGet( 
    _bsPropName: String;
   Out  _pbsPropValue: String
); virtual; 
public: virtual void PropsGet( 
   BSTR* _bsPropName,
   [PARAMFLAG::Out] BSTR* _pbsPropValue
) 

Parameters

_bsPropName
name of the property
_pbsPropValue
value of the property
Example

Here is example of how to get playlist item and get 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()
Dim myValue As String
DirectCast(myItem, IMProps).PropsGet("loop", myValue)
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();
string myValue;
((IMProps)myItem).PropsGet("loop", out myValue);
var
m_objWriter: IMWriter;
myPlaylist: IMPlaylist;
myIndex: integer;
myItem: MItem;
myFile: IMFile;
myValue: widestring;
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.PropsGet('loop', out myValue);
end;
See Also

Reference

MWriterClass Class
MWriterClass Members