Click or drag to resize

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.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static AttributeType SetAttributeValue(
	this 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

AttributeType
The 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