 | 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.AmlObjectsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static bool MakeListAttribute(
this AttributeType attribute,
bool isOrdered = false
)
<ExtensionAttribute>
Public Shared Function MakeListAttribute (
attribute As AttributeType,
Optional isOrdered As Boolean = false
) As Boolean
public:
[ExtensionAttribute]
static bool MakeListAttribute(
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
Booleantrue, 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