Geotools.Net

RowStructure Structure

Implements ICustomTypeDescriptor so we can simulate a row object having a property for every field.

For a list of all members of this type, see RowStructure Members.

System.Object
   ValueType
      RowStructure

[Visual Basic]
Public Structure RowStructure
Implements ICustomTypeDescriptor
[C#]
public struct RowStructure : ICustomTypeDescriptor

Remarks

For an explaination of ICustomTypeDescriptor see http://www.devx.com/dotnet/Article/7874 By implementing this interface, we are able to simulate that an object has lots of properties. These properties are determined dynamically at run-time. When enumerating throught the ShapefileDataReader, RowStructure is the object that gets returned.

            foreach(object obj in shpDataReader)
            {
            	if (obj.GetType().Name!="RowStructure")
            	{
            		// this proves the type returned by shpDataReader
            	} 
            }
            

Requirements

Namespace: Geotools.Data Namespace

Assembly: Geotools.dll

See Also

RowStructure Members | Geotools.Data Namespace