Click or drag to resize

Extensions.WithPredicate 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
)

Parameters

ts
Type: System.Collections.Generic.IEnumerable<Triple>
Enumerable of Triples.
predicate
Type: VDS.RDF.INode
Predicate to match.

Return Value

Type: IEnumerable<Triple>

[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 IEnumerable<Triple>. 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