cohtml::PairInfo
On this page
Represents a pair of a types exposed to the scripting.
#include <Property.h>
Public Attributes
| Name | |
|---|---|
| ElementType | Types Types of the first and second elements. |
| TypeInfo * | TypeInfos Type information for each element when its type is ET_UserType; null otherwise. |
| void * | Member Pointers to the first and second elements. |
Public Attributes Documentation
variable Types
ElementType Types;
Types of the first and second elements.
variable TypeInfos
TypeInfo * TypeInfos;
Type information for each element when its type is ET_UserType; null otherwise.
variable Member
void * Member;
Pointers to the first and second elements.
Warning: When an element type is a primitive type, except ET_String, the corresponding entry in Member[] must be a pointer to an actual value of that primitive type. The SDK may cast it directly; for example: (int*)pairInfo.Member[0] when Types[0] == ET_Int32. For user-defined types, these pointers may reference the actual object or an abstraction meaningful to the property implementation. The pointers are not cached and must remain valid only for the duration of the call in which they are retrieved, unless Safe data binding is disabled.