Click or drag to resize

ListAttributeMakeListAttribute Method

Changes the semantic of the specified attribute and converts it to a list attribute. If the Attribute is already a list attribute or the attribute contains child attributes it will not be converted.

Namespace: Aml.Engine.AmlObjects
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static bool MakeListAttribute(
	this AttributeType attribute,
	bool isOrdered = false
)

Parameters

attribute  AttributeType
The attribute.
isOrdered  Boolean  (Optional)
If set to true the attribute is converted to an ordered list attribute

Return Value

Boolean
true, if the conversion was done, otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AttributeType. 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