| | WebCenter Interaction API | |
| IPTSearchResponse.GetFieldsAsXPDateTime Method |
Returns the value of a single field (property) in a single search result.
XPDateTime GetFieldsAsXPDateTime(
int nRank,
int nPropertyID
);
Parameters
-
nRank
- Ungrouped result rank, in the range 0 to (GetReturnedResults()-1).
-
nPropertyID
- 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-valued property. Note: PT_INTRINSICS.PT_PROPERTY_OBJECTCREATED and PT_INTRINSICS.PT_PROPERTY_OBJECTLASTMODIFIED have special-case behavior; despite being dates they are returned as type Double. Instead of this method call GetFieldsAsDouble(), then SearchResultModel.ConvertSearchDateTimeToXPDateTime() to convert to date.
Return Value
the property value.
See Also
IPTSearchResponse Interface | com.plumtree.server Namespace