|  | ObjectWithAttributesSetAttributeValue(IObjectWithAttributes, String, Double, Double, String, String) Method | 
                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
            
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
 Syntax
Syntaxpublic static AttributeType SetAttributeValue(
	this IObjectWithAttributes objWithAttr,
	string attName,
	double attValue,
	double defaultValue,
	string description,
	string attUnit
)
<ExtensionAttribute>
Public Shared Function SetAttributeValue ( 
	objWithAttr As IObjectWithAttributes,
	attName As String,
	attValue As Double,
	defaultValue As Double,
	description As String,
	attUnit As String
) As AttributeType
public:
[ExtensionAttribute]
static AttributeType^ SetAttributeValue(
	IObjectWithAttributes^ objWithAttr, 
	String^ attName, 
	double attValue, 
	double defaultValue, 
	String^ description, 
	String^ attUnit
)
Parameters
- objWithAttr  IObjectWithAttributes
- parent object
- attName  String
- attribute name
- attValue  Double
- attribute value of type double
- defaultValue  Double
- attribute defaultValue
- description  String
- attribute description
- attUnit  String
- attribute unit
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).
 See Also
See Also