Returns a Globe Server Find Result object that contain the given search string.
[Visual Basic 6.0] Function Find(
ByVal LayerID As Long, _
ByVal searchString As String, _
ByVal contains As Boolean, _
ByVal searchFields As String _
) As IGlobeServerFindResults
[Visual Basic .NET] Public Function Find ( _ ByVal LayerID As Integer, _ ByVal searchString As String, _ ByVal contains As Boolean, _ ByVal searchFields As String _ ) As IGlobeServerFindResults
[C#] public IGlobeServerFindResults Find ( int LayerID, string searchString, bool contains, string searchFields );
[Java] public IGlobeServerfindResults find ( int LayerID, String searchString, Boolean contains, String searchFields ) throws IOException, AutomationException
[C++] HRESULT Find( long LayerID, BSTR searchString, VARIANT_BOOL contains, BSTR searchFields, IGlobeServerFindResults** findResults );
Parameters
LayerID [in]
LayerID is a parameter of type long
searchString [in]
searchString is a parameter of type BSTR
contains [in]
contains is a parameter of type VARIANT_BOOL
searchFields [in]
searchFields is a parameter of type BSTR
findResults [out, retval]
findResults is a parameter of type IGlobeServerFindResults
Returns GlobeServerFindResults object by taking in the LayerId used to perform Find on , a search string - representing the value to be searched, a boolen defineing wheter to search for exact match or results that contain the defind string, and a string defining which fields to search on the layer. Note passing an empty string For SearchFields will search in all available Fields.
The following code snipet shows how to perfrom Find.
{
IGlobeServerFindResults pglobeserverFindRes=
new GlobeServerFindResultClass();pglobeserverFindRes = (IGlobeServerFindResults) pglobeServer.Find(layerID,"Redlands",True,"Name");
IGlobeServerIdentifyResult pglobeServIdRes=
new GlobeServerIdentifyResultClass();}