Click or drag to resize

SparqlResultItem Property (Int32)

Gets the Value that is bound at the given Index.

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public INode this[
	int index
] { get; }

Parameters

index
Type: SystemInt32
Index whose Value you wish to retrieve.

Return Value

Type: INode
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if there is nothing bound at the given Index.
Remarks
As of 1.0.0 the order of variables in a result may/may not vary depending on the original query. If a specific variable list was declared dotNetRDF tries to preserve that order but this may not always happen depending on how results are received.
See Also