ElementHelpersCopyProperties Method |
Copy the properties (key and value) from one element to another.
The properties are preserved on the from element.
ElementPropertiesRule that share the same key on the to element are overwritten.
Namespace:
Frontenac.Blueprints.Util
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 10.1.0.0 (10.1)
Syntaxpublic static void CopyProperties(
this IElement from,
IElement to
)
<ExtensionAttribute>
Public Shared Sub CopyProperties (
from As IElement,
to As IElement
)
public:
[ExtensionAttribute]
static void CopyProperties(
IElement^ from,
IElement^ to
)
[<ExtensionAttribute>]
static member CopyProperties :
from : IElement *
to : IElement -> unit
Parameters
- from
- Type: Frontenac.BlueprintsIElement
the element to copy properties from - to
- Type: Frontenac.BlueprintsIElement
the element to copy properties to
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IElement. 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