Findresult – Pitney Bowes MapXtreme User Manual
Page 263

Chapter 13: Finding Locations
Overview of the Data.Find Namespace
MapXtreme v7.1
270
Developer Guide
find.Dispose();
}
FindResult
The FindResult class returns information from the Find.Search method in the form of properties that
explain what kind of match was made, as shown in the table below. If successful, the FoundKey
property contains the key of the object to be located. If successful, the FoundPoint property contains
the point of the object located.
FindAddressCode Enumeration
Identifies the result code for the address part of the search and is returned by the
FindResult.AddressResultCode property.
L
This result code should only be used when searching for a street or intersection.
Property
Description
AddressOutOfRange
Specifies whether the address passed in was out of range.
AddressResultCode
Identifies the result code for the address part of the search and returns a
FindAddressCode enumeration.
BoundaryResultCode
Identifies the result code for the refining boundary part of the search and
returns a FindBoundaryCode enumeration.
ExactMatch
Specifies whether an exact match was found.
FoundKey
Specifies the Key of the object that has been located.
FoundPoint
Specifies the Point of the object that has been located.
IntersectionNotFound
Specifies whether the intersection was not found.
MultipleMatches
Specifies whether multiple matches were found.
NameResultCode
Identifies the result code for the name being searched on and returns a
FindNameCode enumeration.
ResultCode
If the Find results is an exact match, the value is one. If the Find results
in an approximate match, the value is greater than one. If the Find fails to
match the address, the result is a negative value.
UseSubstitution
Specifies whether a substitution was used from the abbreviation file.