ItemInnerGet Method (IMItem)
inner object of playlist item
Gets the inner object of playlist item (MFile, MLive or MPlaylist).
Syntax
Sub ItemInnerGet( _
   ByRef _ppInnerObject As Object _
) 
void ItemInnerGet( 
   out object _ppInnerObject
)
procedure ItemInnerGet( 
   Out  _ppInnerObject: TObject
); 
void ItemInnerGet( 
   [PARAMFLAG::Out] IUnknown* _ppInnerObject
) 

Parameters

_ppInnerObject
inner object of playlist item
Example

Here is example of how to get type of playlist item:

Dim myItem As MItem
Dim strPath As String
Dim dblPos As Double
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem)
Dim _myObject as Object
pItem.ItemInnerGet(_myObject)
'let find out type of this object
Dim pType As eMItemType
DirectCast(_myObject, IMItem).ItemTypeGet(pType)
MItem pItem;
string strPath;
double dblPos;
myPlaylist.PlaylistGetByIndex(1, out dblPos, out strPath, out pItem);
object _myObject;
pItem.ItemInnerGet(out _myObject);
//let find out type of this object
eMItemType pType;
((IMItem)_myObject).ItemTypeGet(out pType);
var
myObject: TObject;
pType: eMItemType;
myItem, pItem: MItem;
strPath: widestring;
dblPos: double;
begin
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, pItem);
pItem.ItemInnerGet(myObject);
myItem:= myObject as IMItem;
myItem.ItemTypeGet(pType);
end;
See Also

Reference

IMItem Interface
IMItem Members