 | AMLEngineAdapterInsert_RoleRequirements Method |
Note: This API is now obsolete.
Inserting a RoleRequirement to this InternalElement. An exception is thrown if a
RoleRequirements is already existent.
Namespace: Aml.Engine.AdapterAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("Use Insert Method instead", false)]
public static void Insert_RoleRequirements(
this InternalElementType internalElement,
RoleRequirementsType roleRequirement
)
<ExtensionAttribute>
<ObsoleteAttribute("Use Insert Method instead", false)>
Public Shared Sub Insert_RoleRequirements (
internalElement As InternalElementType,
roleRequirement As RoleRequirementsType
)
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Use Insert Method instead", false)]
static void Insert_RoleRequirements(
InternalElementType^ internalElement,
RoleRequirementsType^ roleRequirement
)
Parameters
- internalElement InternalElementType
- The internal element.
- roleRequirement RoleRequirementsType
- The RoleRequirement to insert
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
InternalElementType. 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).
ExceptionsException | Condition |
---|
SchemaConformanceException |
A RoleRequirements node is already existent. It is not allowed to add more
than one RoleRequirements node to current element according to CAEX Schema
|
See Also