Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The AddNew property retrieves a new ChannelLineup object and adds it to the collection.
Syntax
objChannelLineups.Addnew(strName As String ) As ChannelLineup
Parameters
strName
[in] Specifies the name for the ChannelLineup object.
Error Codes
If the property fails, an error is raised and Err.Number is set to a value other than zero.
Return Values
This property returns a ChannelLineup object.
Example Code
' Returning the objChannelLineups.
Name As String
Name = " {C32C8218-C6CE-43a8-8930-A24012A6B122}"
objChannelLineup = ChannelLineups.AddNew(Name)
Remarks
This method is not valid for collections retrieved by using ChannelLineups.ItemsByKey.
See Also