Click or drag to resize

ObjectWithBaseClassOverriddenElement Method

Determines, if an element of a class with an inheritance relation to a base class has an overridden element with the specified name and type, what means a base class contains an element which name is equal to the provided elementName.

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

Parameters

classWithBaseClass  IClassWithBaseClassReference
the base class containing the element
elementName  String
Name of the element.
elementType  Type
Type of the element.

Return Value

XElement
The overridden element if it exists; otherwise null.

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