![]() | AttributeTableExtensions Methods |
The AttributeTableExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | GetBoolOrDefault |
Tries to get the boolean value with the specified key from the
attribute table, and returns the passed default value if the key
could not be found.
|
![]() ![]() | GetEnumOrDefault |
Tries to get the enum value with the specified key from the
attribute table, and returns the passed default value if the key
could not be found.
|
![]() ![]() | GetFloatOrDefault |
Tries to get the float value with the specified key from the
attribute table, and returns the passed default value if the key
could not be found.
|
![]() ![]() | GetIntOrDefault |
Tries to get the int value with the specified key from the
attribute table, and returns the passed default value if the key
could not be found.
|
![]() ![]() | GetValueOrDefaultT |
Tries to get the value of the attribute with the specified key. If not found,
the specified default value is returned.
|
![]() ![]() | TryGetBool |
Tries to get an boolean value from the specified attribute table with the specified key.
|
![]() ![]() | TryGetFloat |
Tries to get a float value from the specified attribute table with the specified key.
|
![]() ![]() | TryGetInt |
Tries to get an int value from the specified attribute table with the specified key.
|
![]() ![]() | TryGetValue(IAttributeTable, Object, Type, Object) |
Tries to retrieve the value the passed key is mapped to within this
attribute table and expects the specified type.
|
![]() ![]() | TryGetValueT(IAttributeTable, Object, T) |
Tries to retrieve the value the specified key is mapped to within this
attribute table. Additionally checks that the type of the value is correct.
Only classes are allowed as the method wouldn't be AOT compatible otherwise.
|