Microsoft DirectX 8.1 (C++)

Objects.AddNewAt

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

The AddNewAt property retrieves a new object and adds it to the collection at a specified index.

Syntax

objObjects.AddNewAt(index As Long) As Unknown

Parameters

index

[in]  Specifes the index.

Error Codes

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

Return Values

This property returns an Object.

Remarks

This method can be used only on collections retrieved by using Objects.ItemsRelatedToBy.

See Also