  | ObjectWithAttributesSetAttributeValue(IObjectWithAttributes, String, String) Method | 
            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.
            
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static AttributeType SetAttributeValue(
	this IObjectWithAttributes objWithAttr,
	string attName,
	string attValue
)
<ExtensionAttribute>
Public Shared Function SetAttributeValue ( 
	objWithAttr As IObjectWithAttributes,
	attName As String,
	attValue As String
) As AttributeType
public:
[ExtensionAttribute]
static AttributeType^ SetAttributeValue(
	IObjectWithAttributes^ objWithAttr, 
	String^ attName, 
	String^ attValue
)
Parameters
- objWithAttr  IObjectWithAttributes
 - the CAEX object with an Attribute collection.
 - attName  String
 - The attribute name
 - attValue  String
 - The attribute value, encoded as a string
 
Return Value
AttributeTypeThe modified attribute.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IObjectWithAttributes. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
Remarks
            Please note, when this method is used the caller is responsible to select the right xml-encoding of the string so it
            is compatible to the attribute data type. A better solution is to use the generic method which allows to define
            the required value type 
SetAttributeValueT(IObjectWithAttributes, String, T).
            
See Also