ExtensionsWithSubject Method |
Gets the Subset of Triples from an existing Enumerable that have a given Subject.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static IEnumerable<Triple> WithSubject(
this IEnumerable<Triple> ts,
INode subject
)
<ExtensionAttribute>
Public Shared Function WithSubject (
ts As IEnumerable(Of Triple),
subject As INode
) As IEnumerable(Of Triple)
Parameters
- ts
- Type: System.Collections.GenericIEnumerableTriple
Enumerable of Triples. - subject
- Type: VDS.RDFINode
Subject to match.
Return Value
Type:
IEnumerableTriple[Missing <returns> documentation for "M:VDS.RDF.Extensions.WithSubject(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