ElementHelpersRemoveProperty Method |
Remove a property from all elements in the provided IEnumerable.
Namespace:
VelocityGraph.Frontenac.Blueprints.Util
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public static void RemoveProperty(
this IEnumerable<IElement> elements,
string key
)
<ExtensionAttribute>
Public Shared Sub RemoveProperty (
elements As IEnumerable(Of IElement),
key As String
)
public:
[ExtensionAttribute]
static void RemoveProperty(
IEnumerable<IElement^>^ elements,
String^ key
)
[<ExtensionAttribute>]
static member RemoveProperty :
elements : IEnumerable<IElement> *
key : string -> unit
Parameters
- elements
- Type: System.Collections.GenericIEnumerableIElement
the elements to remove the property from - key
- Type: SystemString
the property to remove by key
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableIElement. 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