Note that collection indices are always 1-based.
You can retrieve all the sources using IiTunes::Sources().
Public Member Functions | |
Properties | |
HRESULT | Count ([out, retval] long *count) |
Returns the number of sources in the collection. | |
HRESULT | Item ([in] long index,[out, retval] IITSource **iSource) |
Returns an IITSource object corresponding to the given index (1-based). | |
HRESULT | ItemByName ([in] BSTR name,[out, retval] IITSource **iSource) |
Returns an IITSource object with the specified name. | |
HRESULT | _NewEnum ([out, retval] IUnknown **iEnumerator) |
Returns an IEnumVARIANT object which can enumerate the collection. | |
HRESULT | ItemByPersistentID ([in] long highID,[in] long lowID,[out, retval] IITSource **iSource) |
Returns an IITSource object with the specified persistent ID. See the documentation on IITObject for more information on persistent IDs. |
|
Returns an IEnumVARIANT object which can enumerate the collection.
|
|
Returns the number of sources in the collection.
|
|
Returns an IITSource object corresponding to the given index (1-based).
|
|
Returns an IITSource object with the specified name.
|
|
Returns an IITSource object with the specified persistent ID. See the documentation on IITObject for more information on persistent IDs.
|