ElementHelpers.RemoveProperty 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)
Syntaxpublic 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.Generic.IEnumerable<IElement>
the elements to remove the property from - key
- Type: System.String
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
IEnumerable<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