Show / Hide Table of Contents

Class SparqlCastBuilder

Provides methods for casting expressions to XPath types.
Inheritance
System.Object
SparqlCastBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.Builder
Assembly: dotNetRDF.dll
Syntax
public sealed class SparqlCastBuilder

Methods

| Improve this Doc View Source

AsBoolean()

Creates a cast to xsd:boolean.
Declaration
public BooleanExpression AsBoolean()
Returns
Type Description
BooleanExpression
| Improve this Doc View Source

AsDateTime()

Creates a cast to xsd:dateTime.
Declaration
public LiteralExpression AsDateTime()
Returns
Type Description
LiteralExpression
| Improve this Doc View Source

AsDecimal()

Creates a cast to xsd:decimal.
Declaration
public NumericExpression<decimal> AsDecimal()
Returns
Type Description
NumericExpression<System.Decimal>
| Improve this Doc View Source

AsDouble()

Creates a cast to xsd:double.
Declaration
public NumericExpression<double> AsDouble()
Returns
Type Description
NumericExpression<System.Double>
| Improve this Doc View Source

AsFloat()

Creates a cast to xsd:float.
Declaration
public NumericExpression<float> AsFloat()
Returns
Type Description
NumericExpression<System.Single>
| Improve this Doc View Source

AsInteger()

Creates a cast to xsd:integer.
Declaration
public NumericExpression<int> AsInteger()
Returns
Type Description
NumericExpression<System.Int32>
| Improve this Doc View Source

AsString()

Creates a cast to xsd:string.
Declaration
public LiteralExpression AsString()
Returns
Type Description
LiteralExpression

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • AsBoolean()
    • AsDateTime()
    • AsDecimal()
    • AsDouble()
    • AsFloat()
    • AsInteger()
    • AsString()
  • Extension Methods
Back to top Generated by DocFX