Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The AddNew property retrieves a Program object from the collection. If no object with the specified name exists, one is added.
Syntax
objPrograms.AddNew As Program
Parameters
This property takes no parameters.
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 Program object.
Remarks
This method is valid only for collections retrieved by using GuideStore.Programs.
See Also