 | InternalElementTypeHasSystemUnitClassReference Method |
Determines whether this InternalElement object has an associated reference to
the specified SystemUnitClass. If inheritance relations between systemUnitClasses should be regarded, the
optional parameter 'regardInheritance' should be set. In this case the specified SystemUnitClass is either
identical
to a referenced SystemUnitClass or a referenced SystemUnitClass is derived from the specified SystemUnitClass.
Namespace: Aml.Engine.CAEXAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic bool HasSystemUnitClassReference(
SystemUnitFamilyType systemUnitClass,
bool regardInheritance = false
)
Public Function HasSystemUnitClassReference (
systemUnitClass As SystemUnitFamilyType,
Optional regardInheritance As Boolean = false
) As Boolean
public:
bool HasSystemUnitClassReference(
SystemUnitFamilyType^ systemUnitClass,
bool regardInheritance = false
)
Parameters
- systemUnitClass SystemUnitFamilyType
- The SystemUnitClass object.
- regardInheritance Boolean (Optional)
-
if set to true inheritance relations
are regarded (default is false).
Return Value
Booleantrue if this InternalElement object has an associated reference to
the specified SystemUnitClass; otherwise,
false.
Exceptions
See Also