NetTopologySuite
|
Stores all attributes associated with a single Geometry
feature.
More...
Public Member Functions | |
string[] | GetNames () |
Returns a string array containing all names of present attributes. More... | |
object[] | GetValues () |
Returns a object array containing all values of present attributes. More... | |
bool | Exists (string attributeName) |
Verifies if attribute specified already exists. More... | |
void | AddAttribute (string attributeName, object attributeValue) |
Build a field with the given value and add it to attributes table. More... | |
virtual void | DeleteAttribute (string attributeName) |
Delete the specified attribute from the table. More... | |
Type | GetType (string attributeName) |
Return the System.Type of the specified attribute, useful for casting values retrieved with GetValue methods. More... | |
Protected Member Functions | |
object | GetValue (string attributeName) |
Get the value of the specified attribute. More... | |
void | SetValue (string attributeName, object attributeValue) |
Set the value of the specified attribute. More... | |
Properties | |
int | Count [get] |
object | this[string attributeName] [get, set] |
Get / Set the value of the specified attribute. More... | |
![]() | |
object | this[string attributeName] [get, set] |
int | Count [get] |
Stores all attributes associated with a single Geometry
feature.
void NetTopologySuite.Features.AttributesTable.AddAttribute | ( | string | attributeName, |
object | attributeValue | ||
) |
Build a field with the given value and add it to attributes table.
attributeName | Name of the new attribute. |
attributeValue | Value for attribute (can be null). |
ArgumentException | If attribute already exists. |
Implements NetTopologySuite.Features.IAttributesTable.
|
virtual |
Delete the specified attribute from the table.
attributeName |
Implements NetTopologySuite.Features.IAttributesTable.
bool NetTopologySuite.Features.AttributesTable.Exists | ( | string | attributeName | ) |
Verifies if attribute specified already exists.
attributeName |
Implements NetTopologySuite.Features.IAttributesTable.
string [] NetTopologySuite.Features.AttributesTable.GetNames | ( | ) |
Returns a string
array containing all names of present attributes.
Implements NetTopologySuite.Features.IAttributesTable.
Type NetTopologySuite.Features.AttributesTable.GetType | ( | string | attributeName | ) |
Return the System.Type
of the specified attribute, useful for casting values retrieved with GetValue methods.
attributeName |
Implements NetTopologySuite.Features.IAttributesTable.
|
protected |
Get the value of the specified attribute.
attributeName |
object [] NetTopologySuite.Features.AttributesTable.GetValues | ( | ) |
Returns a object
array containing all values of present attributes.
Implements NetTopologySuite.Features.IAttributesTable.
|
protected |
Set the value of the specified attribute.
attributeName | |
attributeValue |
|
get |
|
getset |
Get / Set the value of the specified attribute.
attributeName |