Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The ItemsByKey property retrieves a sorted collection of objects that meet the specified criteria.
Syntax
objChannels.ItemsByKey(pproptype As IMetaPropertyType,
pprovider As IGuideDataProvider,
idLang As Long,
vt As Long) As Channels
Parameters
pproptype
[in] Specifies a MetaPropertyType object that is shared by all objects in the retrieved collection.
pprovider
[in] Specifies a GuideDataProvider object that is shared by all objects in the retrieved collection. This parameter can be Nothing.
idLang
[in] Specifies the language. A value of 0 specifies all languages.
vt
[in] Specifies the Variant subtype of the metaproperty value. Only objects whose matching metaproperty is of this type are retrieved.
Error Codes
If the method fails, an error is raised and Err.Number is set to a value other than zero.
Return Values
This property returns a Channels object.
See Also