Class ByteNode
Valued node representing a byte (8-bit unsigned integer).
Implements
System.IEquatable<BaseLiteralNode>
System.IComparable<BaseLiteralNode>
System.IEquatable<LiteralNode>
System.IComparable<LiteralNode>
System.IComparable<INode>
System.IComparable<IBlankNode>
System.IComparable<IGraphLiteralNode>
System.IComparable<ILiteralNode>
System.IComparable<IUriNode>
System.IComparable<IVariableNode>
System.IEquatable<INode>
System.IEquatable<IBlankNode>
System.IEquatable<IGraphLiteralNode>
System.IEquatable<ILiteralNode>
System.IEquatable<IUriNode>
System.IEquatable<IVariableNode>
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Nodes
Assembly: dotNetRDF.dll
Syntax
public class ByteNode : NumericNode, ILiteralNode, IEquatable<BaseLiteralNode>, IComparable<BaseLiteralNode>, IEquatable<LiteralNode>, IComparable<LiteralNode>, IValuedNode, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, ISerializable, IXmlSerializable
Constructors
| Improve this Doc View SourceByteNode(IGraph, Byte)
Creates a new byte valued node.
Declaration
public ByteNode(IGraph g, byte value)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph the node belongs to. |
System.Byte | value | Byte value. |
ByteNode(IGraph, Byte, String)
Creates a new byte valued node.
Declaration
public ByteNode(IGraph g, byte value, string lexicalValue)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph the node belongs to. |
System.Byte | value | Byte value. |
System.String | lexicalValue | Lexical value. |
Methods
| Improve this Doc View SourceAsDecimal()
Gets the decimal value of the byte.
Declaration
public override decimal AsDecimal()
Returns
Type | Description |
---|---|
System.Decimal |
Overrides
| Improve this Doc View SourceAsDouble()
Gets the float value of the double.
Declaration
public override double AsDouble()
Returns
Type | Description |
---|---|
System.Double |
Overrides
| Improve this Doc View SourceAsFloat()
Gets the float value of the byte.
Declaration
public override float AsFloat()
Returns
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceAsInteger()
Gets the integer value of the byte.
Declaration
public override long AsInteger()
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
Implements
System.IEquatable<T>
System.IComparable<T>
System.IEquatable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable