SparqlResultTryGetValue Method |
Tries to get a value (which may be null) for the variable.
Namespace:
VDS.RDF.Query
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public bool TryGetValue(
string variable,
out INode value
)
Public Function TryGetValue (
variable As String,
<OutAttribute> ByRef value As INode
) As Boolean
Parameters
- variable
- Type: SystemString
Variable. - value
- Type: VDS.RDFINode
Value.
Return Value
Type:
BooleanTrue if the variable was present (even it was unbound) and false otherwise.
See Also