    Contents  Index  Topic Contents
    Previous Topic: DANumber Class
    Next Topic: DAPath2 Class

> ## DAPair Class

> Used in conjunction with AndEvent and DAPickableResult. The AndEvent function creates a third event from two simultaneously occurring events. It returns a DAPair whose first member is the event data returned by the first event and whose second member is the data returned by the second event. The DAPickableResults object contains a DAEvent that is a DAPair whose first member is the point of intersection and whose second member is a vector that is perpendicular to the surface. Note that, unlike arrays, a DAPair can contain two objects of different types.

> ### DAPair Properties

> First

> Second

> ####

> First

> DAPair Class

> A read-only property with a DABehavior value that is the first object of the DAPair.

> pairObj.First

> ####

> Second

> DAPair Class

> A read-only property with a DABehavior value that is the second object of the DAPair.

> pairObj.Second

> © 1998 Microsoft Corporation. All rights reserved. Terms of Use.

> Top of Page