 | RoleRequirementsTypeAssignQualifiedRoleClassAttribute Method |
This method supports the Multiple Roles concept in AutomationML 2.0, based on CAEX 2.15. The method is not
applicable for documents,
based on CAEX 3.0 and later. It tests, if the provided Attribute object is a role class attribute of a supported
role class object which can be used
in a Multiple role mapping and assigns it to this RoleRequirements instance.
Namespace: Aml.Engine.CAEXAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic AttributeType AssignQualifiedRoleClassAttribute(
AttributeType attribute
)
Public Function AssignQualifiedRoleClassAttribute (
attribute As AttributeType
) As AttributeType
public:
AttributeType^ AssignQualifiedRoleClassAttribute(
AttributeType^ attribute
)
Parameters
- attribute AttributeType
- The tested attribute.
Return Value
AttributeType
the newly created and assigned Attribute, if the Attribute object is assigned to the role class interface;
otherwise,
null.
See Also