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