Class FeatureArrayReader
A subclass of FeatureReaderBase that iterates over an array of IFeature instances
Implements
System.IDisposable
System.Collections.Generic.IEnumerable<IFeature>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.MaestroAPI.Feature
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class FeatureArrayReader : FeatureReaderBase, IFeatureReader, IReader, IDisposable, IFeature, IRecord, IEnumerable<IFeature>, IEnumerable
Constructors
| Improve this Doc View SourceFeatureArrayReader(IFeature[])
Initializes a new instance of the FeatureArrayReader class.
Declaration
public FeatureArrayReader(IFeature[] features)
Parameters
Type | Name | Description |
---|---|---|
IFeature[] | features | The features. |
Methods
| Improve this Doc View SourceClose()
Closes the object, freeing any resources it may be holding.
Declaration
public override void Close()
Overrides
| Improve this Doc View SourceGetPropertyType(Int32)
Gets the property value type for the property at the specified index
Declaration
public override PropertyValueType GetPropertyType(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
PropertyValueType |
Overrides
| Improve this Doc View SourceGetPropertyType(String)
Gets the property value type for the property of the specified name
Declaration
public override PropertyValueType GetPropertyType(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
PropertyValueType |
Overrides
| Improve this Doc View SourceReadNextFeature()
Reads the next feature.
Declaration
protected override IFeature ReadNextFeature()
Returns
Type | Description |
---|---|
IFeature |
Overrides
Implements
System.IDisposable
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable