Click or drag to resize

ObjectWithAttributesSetAttributeValue Method

Overload List
 NameDescription
Public Extension MethodCode exampleSetAttributeValue(IObjectWithAttributes, String, Double) Modifies the attribute with the specified name from the attribute collection of the CAEX object, using the provided double value. If no attribute with that name exists, it is created. Sets the AttributeDataType to xs:double. To change existing attributes it is recommended to use indexers (see examples below).
Public Extension MethodSetAttributeValue(IObjectWithAttributes, String, String) Sets a value for the attribute from a string with the specified name from the attribute collection of the CAEX object. If no attribute with that name exists, it is created.
Public Extension MethodSetAttributeValue(IObjectWithAttributes, String, String, String, String) Modifies the attribute with the specified name from the attribute collection of the CAEX object, using the provided values. If no attribute with that name exists, it is created.
Public Extension MethodSetAttributeValue(IObjectWithAttributes, String, Double, Double, String, String) Modifies the attribute with the specified name from the attribute collection of the CAEX object, using the provided values. If no attribute with that name exists, it is created. Sets the AttributeDataType to xs:double
Public Extension MethodSetAttributeValue(IObjectWithAttributes, String, String, String, String, String, String) Modifies the attribute with the specified name from the attribute collection of the CAEX object, using the provided values. If no attribute with that name exists, it is created.
Public Extension MethodSetAttributeValueT(IObjectWithAttributes, String, T) Sets a typed value for the attribute with the specified name from the attribute collection of the CAEX object. If no attribute with that name exists, it is created. The correct encoding for the attribute value xml representation is automatically defined.
Top
See Also