Click or drag to resize

ObjectWithAttributesCopyAttributesFrom Method

Copies all attribute of the source object with attributes to the target object including children

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static void CopyAttributesFrom(
	this IObjectWithAttributes targetObject,
	IObjectWithAttributes sourceObject,
	bool includingValues
)

Parameters

targetObject  IObjectWithAttributes
the target object
sourceObject  IObjectWithAttributes
the source object
includingValues  Boolean
true if the copy process should include the attribute values, not recommended for classes

Return Value

nothing

Usage Note

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