SparqlResultHasValue Method |
Checks whether a given Variable has a value (which may be null) for this result.
Namespace:
VDS.RDF.Query
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public bool HasValue(
string variable
)
Public Function HasValue (
variable As String
) As Boolean
Parameters
- variable
- Type: SystemString
Variable Name.
Return Value
Type:
BooleanTrue if the variable is present, false otherwise.
Remarks Returns true even if the value is null, use
HasBoundValue(String) instead to see whether a non-null value is present for a variable.
See Also