Class MapServerFindResultClass

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll
[Guid("DF9ADEE0-54B2-43D7-90BF-B2CB9BCC3735")]
[ClassInterface(ClassInterfaceType.None)]
public class MapServerFindResultClass : MapServerFindResult, IMapServerFindResult, IXMLSerialize, IPersistStream, IPersist
Inheritance
MapServerFindResultClass
Implements
Inherited Members

Constructors

MapServerFindResultClass()

public MapServerFindResultClass()

Explicit Interface Implementations

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

FeatureId

The ID of the found feature.

virtual int FeatureId { get; set; }

Returns

int

FeatureProperties

A set of name-value pairs for the found features's field names and values.

virtual IPropertySet FeatureProperties { get; set; }

Returns

IPropertySet

FeatureShape

The geometry of the found feature.

virtual IGeometry FeatureShape { get; set; }

Returns

IGeometry

Remarks

FeatureShape contains the geometry of a feature returned from a MapServer Find query. This geometry have the same spatial reference system as the DefaultMapDescription. When ILayerResultOptions is not used, the FeatureShape property returns geometry. If the Shape field is invisible in the source map, the FeatureShape property may still contain geometry depending on how IncludeGeometry is set by the user. 

In some cases, for performance reasons, you may want limit or adjust the geometry being returned. Use ILayerResultOptions to manage this. If IncludeGeometry is set to False, FeatureShape returns nothing. This should increase performance in cases where feature geometry is large. You can also choose to densify or generalize the geometry returned in FeatureShape using GeometryResultOptions. Densification is used to better support clients that do not support Arcs (e.g. Bezier, Circular etc.). Generalization reduces the amount of geography being sent across the network and should lead to better performance.

Densified or generalized geometry should only be used for navigation or display purpose, such as zooming to, flashing, or highlighting the selected feature. For spatial queries, GeometryResultOptions should not be used as it may returns unexpected results. For more information on please see IGeometry, Densify, and Generalize .

FieldName

The field name.

virtual string FieldName { get; set; }

Returns

string

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IPersist_GetClassID(out Guid)

virtual void IPersist_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IsDirty()

virtual void IsDirty()

LayerID

The layer ID.

virtual int LayerID { get; set; }

Returns

int

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

Value

The found value.

virtual string Value { get; set; }

Returns

string