Click or drag to resize

ObjectWithBaseClassDeleteInheritedElement Method

Deletes the inherited element. According to CAEX [DIN EN 62424:2008-08 A.2.4.1 (pp.48-49)], deleting of inherited properties is possible by redefinition of the corresponding data again in the child object with the ChangeMode attribute set to "deleted".

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static bool DeleteInheritedElement(
	this IClassWithBaseClassReference classWithBaseClass,
	string elementName,
	Type elementType
)

Parameters

classWithBaseClass  IClassWithBaseClassReference
The class with base class.
elementName  String
Name of the element which should be deleted.
elementType  Type
Type of the element which should be deleted.

Return Value

Boolean
true, if an inherited property was found and could be deleted; otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IClassWithBaseClassReference. 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