Object IAttributeCollection.GetValue(String name, Object defaultValue)

Returns the value of the attribute identified by its name.

Parameters

  • name
    Type: String
    The name of the attribute.
  • defaultValue
    Type: Object
    The default value

Return Value

Type: Object
Returns the attribute value if the attribute is in the collection, otherwise returns the default value.