AskGeo .NET
1.1.0
AskGeo Libraries for .NET
|
Many of the accessors on the map query result classes return String representations of the fields, even if the underlying data might be better represented by a different type. All fields returned in this manner are enumerated by other classes that implement the DataFieldInterface. That interface includes an accessor that returns the FieldType of the field in question. More...
Public Member Functions | |
String | GetCSharpName () |
The C# type name for the logical type represented by this enumerated value. |
Static Public Attributes | |
static readonly FieldType | StringType = new FieldType("String") |
Best represented by a C# String type. | |
static readonly FieldType | BooleanType = new FieldType("bool") |
Best represented by a C# bool type. | |
static readonly FieldType | IntegerType = new FieldType("int") |
Best represented by a C# int type. | |
static readonly FieldType | FloatType = new FieldType("float") |
Best represented by a C# float type. |
Many of the accessors on the map query result classes return String representations of the fields, even if the underlying data might be better represented by a different type. All fields returned in this manner are enumerated by other classes that implement the DataFieldInterface. That interface includes an accessor that returns the FieldType of the field in question.
In most cases, users of AskGeo will not need to concern themselves with this, as typed accessors have been provided that allow direct access to the metadata fields without the use of the DataFieldInterface.
String AskGeo.Base.FieldType.GetCSharpName | ( | ) |
The C# type name for the logical type represented by this enumerated value.
Best represented by a C# bool type.
Best represented by a C# float type.
Best represented by a C# int type.
Best represented by a C# String type.