Extensions.GetListAsTriples Method |
Gets all the Triples that make up a list (aka a RDF collection).
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntaxpublic static IEnumerable<Triple> GetListAsTriples(
this IGraph g,
INode listRoot
)
<ExtensionAttribute>
Public Shared Function GetListAsTriples (
g As IGraph,
listRoot As INode
) As IEnumerable(Of Triple)
Parameters
- g
- Type: VDS.RDF.IGraph
Graph. - listRoot
- Type: VDS.RDF.INode
Root Node for List.
Return Value
Type:
IEnumerable<Triple>Triples that make up the List.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IGraph. 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