Click or drag to resize
AttributeTableExtensions Methods

The AttributeTableExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetBoolOrDefault
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.
Public methodStatic memberGetEnumOrDefault
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.
Public methodStatic memberGetFloatOrDefault
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.
Public methodStatic memberGetIntOrDefault
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.
Public methodStatic memberGetValueOrDefaultT
Tries to get the value of the attribute with the specified key. If not found, the specified default value is returned.
Public methodStatic memberTryGetBool
Tries to get an boolean value from the specified attribute table with the specified key.
Public methodStatic memberTryGetFloat
Tries to get a float value from the specified attribute table with the specified key.
Public methodStatic memberTryGetInt
Tries to get an int value from the specified attribute table with the specified key.
Public methodStatic memberTryGetValue(IAttributeTable, Object, Type, Object)
Tries to retrieve the value the passed key is mapped to within this attribute table and expects the specified type.
Public methodStatic memberTryGetValueT(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.
Top
See Also