Microsoft DirectX 8.1 (C++)

GuideDataProviders.AddNew

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The AddNew property retrieves a GuideDataProvider object from the collection. If no object with the specified name exists, one is added.

Syntax

objGuideDataProviders.AddNew(name As String) As GuideDataProvider

Parameters

name

[in]  Specifies the name of the object.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

The property returns a GuideDataProvider object.

Remarks

This method is valid only for collections retrieved by using GuideStore.GuideDataProviders.

See Also