Click or drag to resize

ElementHelpersValidateProperty Method

Determines whether the property key/value for the specified element can be legally set. This is typically used as a pre-condition check prior to setting a property. Throws ArgumentException whether the triple is legal and if not, a clear reason message is provided

Namespace:  VelocityGraph.Frontenac.Blueprints.Util
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public static void ValidateProperty(
	this IElement element,
	string key,
	Object value
)

Parameters

element
Type: VelocityGraph.Frontenac.BlueprintsIElement
the element for the property to be set
key
Type: SystemString
the key of the property
value
Type: SystemObject
the value of the property

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