Click or drag to resize

SystemUnitFamilyTypeReplaceRoleClassReference Method

Replaces an existing role class reference to the provided role or a generic base role of the provided role by a new instance of the role class.

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public SupportedRoleClassType ReplaceRoleClassReference(
	RoleFamilyType roleClass
)

Parameters

roleClass  RoleFamilyType
The role class.

Return Value

SupportedRoleClassType
The new SupportedRoleClassType referencing the provided roleClass.
Exceptions
ExceptionCondition
ArgumentNullExceptionroleClass
See Also