Class UnsignedLongNode
A Valued Node with a unsigned long value.
Implements
Inherited Members
Namespace: VDS.RDF.Nodes
Assembly: dotNetRdf.dll
Syntax
public class UnsignedLongNode : NumericNode, ILiteralNode, IEquatable<BaseLiteralNode>, IComparable<BaseLiteralNode>, IEquatable<LiteralNode>, IComparable<LiteralNode>, IValuedNode, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IComparable<IRefNode>, IComparable<ITripleNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, IEquatable<IRefNode>, IEquatable<ITripleNode>
Constructors
| Edit this page View SourceUnsignedLongNode(ulong)
Creates a new unsigned long valued node.
Declaration
public UnsignedLongNode(ulong value)
Parameters
Type | Name | Description |
---|---|---|
ulong | value | Unsigned Long value. |
UnsignedLongNode(ulong, string)
Creates a new unsigned long valued node.
Declaration
public UnsignedLongNode(ulong value, string lexicalValue)
Parameters
Type | Name | Description |
---|---|---|
ulong | value | Unsigned Long value. |
string | lexicalValue | Lexical Value. |
UnsignedLongNode(ulong, string, Uri)
Creates a new unsigned long valued node.
Declaration
public UnsignedLongNode(ulong value, string lexicalValue, Uri datatype)
Parameters
Type | Name | Description |
---|---|---|
ulong | value | Unsigned Long value. |
string | lexicalValue | Lexical Value. |
Uri | datatype | Datatype URI. |
Methods
| Edit this page View SourceAsDecimal()
Gets the decimal value of the ulong.
Declaration
public override decimal AsDecimal()
Returns
Type | Description |
---|---|
decimal |
Overrides
| Edit this page View SourceAsDouble()
Gets the double value of the ulong.
Declaration
public override double AsDouble()
Returns
Type | Description |
---|---|
double |
Overrides
| Edit this page View SourceAsFloat()
Gets the float value of the ulong.
Declaration
public override float AsFloat()
Returns
Type | Description |
---|---|
float |
Overrides
| Edit this page View SourceAsInteger()
Gets the long value of the ulong.
Declaration
public override long AsInteger()
Returns
Type | Description |
---|---|
long |