ItemStartTimeSet Method (IMItem)
start time
start type
Sets the absolute start time of playlist item.
Syntax
Sub ItemStartTimeSet( _
   ByRef _pStartTime As M_DATETIME, _
   ByVal _eStartType As eMStartType _
) 
void ItemStartTimeSet( 
   ref M_DATETIME _pStartTime,
   eMStartType _eStartType
)
procedure ItemStartTimeSet( 
   var  _pStartTime: M_DATETIME;
    _eStartType: eMStartType
); 
void ItemStartTimeSet( 
   ref M_DATETIME _pStartTime,
   eMStartType _eStartType
) 

Parameters

_pStartTime
start time
_eStartType
start type
Example

Here is example of how to set start time for playlist item:

Dim myItem As MItem
Dim strPath As String
Dim dblPos As Double
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem)
et stop time as start time.
Dim _myStart As M_DATATIME
Dim _myStop As M_DATATIME
Dim _myType As eMStartType
pItem.ItemTimesGet(_myStart, _myStop, _myType) 'get time
pItem.ItemStartTimeSet(_myStop, eMStartType.eMST_Off)
MItem myItem;
string strPath;
double dblPos;
myPlaylist.PlaylistGetByIndex(1, out dblPos, out strPath, out myItem);
//set stop time as start time.
M_DATATIME _myStart;
M_DATATIME _myStop;
eMStartType _myType;
myItem.ItemTimesGet(out _myStart, out _myStop, out _myType); //get time
myItem.ItemStartTimeSet(ref _myStop, eMStartType.eMST_Off);
var
myItem: MItem;
strPath: widestring;
dblPos: double;
myStart, myStop: M_DATETIME;
myType: eMStartType;
begin
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem);
myItem.ItemTimesGet(myStart, myStop, myType);
myItem.ItemStartTimeSet(myStop, eMST_Off);
end;
See Also

Reference

IMItem Interface
IMItem Members