This document is archived and information here might be outdated. Recommended version. |
Finds the specified search string in the given attribute fields.
[Visual Basic .NET] Public Function Find ( _ ByVal Search As String, _ ByVal Contains As Boolean, _ ByVal Fields As Object, _ ByVal TrackCancel As ITrackCancel _ ) As IArray
[C#] public IArray Find ( string Search, bool Contains, object Fields, ITrackCancel TrackCancel );
[C++]
HRESULT Find(
BSTR Search,
VARIANT_BOOL Contains,
VARIANT Fields,
ITrackCancel* TrackCancel
);
[C++] Parameters Search [in]
Search is a parameter of type BSTR Contains [in]
Contains is a parameter of type bool Fields [in]
Fields is a parameter of type VARIANT TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel*
This method returns an reference to an Array of FeatureFindData objects. To search, pass in a reference to an Fields object along with the search string and a boolean option to return features that have attributes that contain the string. If Contains = False, only objects with an attribute that consists of the entire search string will be returned.