ElementHelpersSetProperties Method (IElement, Object) |
Set the properties of the provided element using the provided key value pairs.
The var args of Objects must be divisible by 2. All odd elements in the array must be a string key.
Namespace:
VelocityGraph.Frontenac.Blueprints.Util
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public static void SetProperties(
this IElement element,
params Object[] keysValues
)
<ExtensionAttribute>
Public Shared Sub SetProperties (
element As IElement,
ParamArray keysValues As Object()
)
public:
[ExtensionAttribute]
static void SetProperties(
IElement^ element,
... array<Object^>^ keysValues
)
[<ExtensionAttribute>]
static member SetProperties :
element : IElement *
keysValues : Object[] -> unit
Parameters
- element
- Type: VelocityGraph.Frontenac.BlueprintsIElement
the element to set the properties of - keysValues
- Type: SystemObject
the key value pairs of the properties
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