|  | Aqualogic Interaction API | |
| IPTFederatedSearchAgent.GetFieldsAsXPDateTime Method |
Returns the value of a single field (property) of date type in a single search result.
Note that there is special-case behavior for the OBJECTCREATED and OBJECTLASTMODIFIED properties - although the portal considers these to be date properties, search actually returns them as Double instead, so call GetFieldsAsDouble. The method SearchResultModel.ConvertSearchDateTimeToXPDateTime converts this double to an XPDateTime (or see the Search Developer's Guide for code).
XPDateTime GetFieldsAsXPDateTime(
int lRowIndex,
int lPropID
);
Parameters
- lRowIndex
- Result rank, in the range 0 to (GetMatchesReturned()-1).
- lPropID
- ID of the property desired, or one of the special-case pseudoproperties given by PT_INTRINSICS in the ranges [1,8] and [51,58]. Must be a date property.
Return Value
the property value.
See Also
IPTFederatedSearchAgent Interface | com.plumtree.server Namespace