Class SignedByteNode
Value node representing a signed byte (8-bit signed integer).
Implements
Inherited Members
Namespace: VDS.RDF.Nodes
Assembly: dotNetRdf.dll
Syntax
public class SignedByteNode : 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 SourceSignedByteNode(sbyte)
Creates a new signed byte node.
Declaration
public SignedByteNode(sbyte value)
Parameters
Type | Name | Description |
---|---|---|
sbyte | value | Signed Byte value. |
SignedByteNode(sbyte, string)
Creates a new signed byte node.
Declaration
public SignedByteNode(sbyte value, string lexicalValue)
Parameters
Type | Name | Description |
---|---|---|
sbyte | value | Signed Byte value. |
string | lexicalValue | Lexical value. |
Methods
| Edit this page View SourceAsDecimal()
Gets the decimal value of the signed byte.
Declaration
public override decimal AsDecimal()
Returns
Type | Description |
---|---|
decimal |
Overrides
| Edit this page View SourceAsDouble()
Gets the double value of the signed byte.
Declaration
public override double AsDouble()
Returns
Type | Description |
---|---|
double |
Overrides
| Edit this page View SourceAsFloat()
Gets the float value of the signed byte.
Declaration
public override float AsFloat()
Returns
Type | Description |
---|---|
float |
Overrides
| Edit this page View SourceAsInteger()
Gets the integer value of the signed byte.
Declaration
public override long AsInteger()
Returns
Type | Description |
---|---|
long |