ExtensionsWithPredicate Method |
Gets the Subset of Triples from an existing Enumerable that have a given Predicate.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static IEnumerable<Triple> WithPredicate(
this IEnumerable<Triple> ts,
INode predicate
)
<ExtensionAttribute>
Public Shared Function WithPredicate (
ts As IEnumerable(Of Triple),
predicate As INode
) As IEnumerable(Of Triple)
Parameters
- ts
- Type: System.Collections.GenericIEnumerableTriple
Enumerable of Triples. - predicate
- Type: VDS.RDFINode
Predicate to match.
Return Value
Type:
IEnumerableTriple[Missing <returns> documentation for "M:VDS.RDF.Extensions.WithPredicate(System.Collections.Generic.IEnumerable{VDS.RDF.Triple},VDS.RDF.INode)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableTriple. 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