Represents the base class for objects to which attributes can be mapped.
Inheritance Hierarchy
PreStormFeature
PreStormFeatureT
Namespace: PreStorm
Assembly: PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax
The Feature type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Feature |
Initializes a new instance of the Feature class.
|
Properties
| Name | Description | |
|---|---|---|
| IsDataBound |
Indicates if this instance is bound to an actual row in the underlying table.
| |
| IsDirty |
Indicates if any of the mapped properties has been changed via the property setter.
| |
| Item |
Gets or sets a field value based on the field name. This allows for manipulating fields that are not mapped to a property. If the field is mapped to a property, the property value is accessed via Reflection.
| |
| OID |
The Object ID of the feature.
|
Methods
| Name | Description | |
|---|---|---|
| CastT |
Converts this feature to a new object of the specified type.
| |
| Changed |
Indicates if the value of the specified property has changed.
| |
| CreateT |
Instantiates a new object of the specified type. Use this method instead of the constructor to ensure that the mapped properties automatically raise the PropertyChanged event.
| |
| GetFieldNames |
Returns the field names. This includes unmapped fields.
| |
| GetMappings |
Returns the mapped properties.
| |
| RaisePropertyChanged(String) |
Called from a property setter to notify the framework that a member has changed.
| |
| RaisePropertyChangedT(ExpressionFuncT) |
Called from a property setter to notify the framework that a member has changed.
|
Events
| Name | Description | |
|---|---|---|
| PropertyChanged |
Represents the method that will handle the PropertyChanged event raised when a property is changed on a component.
|
Extension Methods
| Name | Description | |
|---|---|---|
| ToKml(String, KmlStyle) | Overloaded.
Converts the feature to KML.
(Defined by Kml.) | |
| ToKml(String, NullableDouble, XElement, XElement) | Overloaded.
Converts the feature to KML.
(Defined by Kml.) | |
| ToText |
Converts the feature attributes to delimiter-separated values (i.e. CSV).
(Defined by Text.) |
See Also