ItemCommandGet Method (IMItem)
command name
parameters of command
target object
Gets the command properties (only for command).
Syntax
Sub ItemCommandGet( _
   ByRef _pbsCommand As String, _
   ByRef _pbsParam As String, _
   ByRef _ppTargetObject As Object _
) 
void ItemCommandGet( 
   out string _pbsCommand,
   out string _pbsParam,
   out object _ppTargetObject
)
procedure ItemCommandGet( 
   Out  _pbsCommand: String;
   Out  _pbsParam: String;
   Out  _ppTargetObject: TObject
); 
void ItemCommandGet( 
   [PARAMFLAG::Out] BSTR* _pbsCommand,
   [PARAMFLAG::Out] BSTR* _pbsParam,
   [PARAMFLAG::Out] IUnknown* _ppTargetObject
) 

Parameters

_pbsCommand
command name
_pbsParam
parameters of command
_ppTargetObject
target object
Example
Dim _myName As String
Dim _myParams As String
Dim _myTarget As Object
Dim myItem As MItem
Dim strPath As String
Dim dblPos As Double
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem)
myItem.ItemCommandGet(_myName, _myParams, _myTarget)
string _myName;
string _myParams;
object _myTarget;
MItem myItem;
string strPath;
double dblPos;
myPlaylist.PlaylistGetByIndex(1, out dblPos, out strPath, out myItem);
myItem.ItemCommandGet(out _myName, out _myParams, out _myTarget);
var
myItem: MItem;
myName, myParams, strPath: widestring;
dblPos: double;
myTarget: TObject;
begin
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem);
myItem.ItemCommandGet(myName, myParams, myTarget);
end;
See Also

Reference

IMItem Interface
IMItem Members