Lineup.GetServiceIds Method
Returns the map of channel numbers and service IDs of mapped services.
Syntax
public IDictionary<string, string> GetServiceIds();
Return Value
System.Collections.Generic.IDictionary<System.String, System.String>. A collection of key-value pairs:
- The key is a string that contains the channel number.
- The value is a string that contains the service ID mapped to the channel.
This method should raise an EventScheduleException or LineupException if it encounters an error.
Remarks
This method does not support sub-channels. For example, if there are sub-channels such as "4.1", "4.2", and "4.3", only "4" is returned with the service ID of the last sub-channel.
Requirements
Reference: ehRecObj
Namespace: Microsoft.MediaCenter.TV.Epg
Assembly: ehRecObj.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also