Click or drag to resize

VariableNode Class

Class representing Variable Nodes (only used for N3).
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
[SerializableAttribute]
public class VariableNode : BaseVariableNode, 
	IEquatable<VariableNode>, IComparable<VariableNode>

The VariableNode type exposes the following members.

Constructors
  NameDescription
Protected methodVariableNode
Deserialization Only Constructor.
Protected methodVariableNode(SerializationInfo, StreamingContext)
Deserialization Constructor.
Protected methodVariableNode(IGraph, String)
Creates a new Variable Node.
Top
Properties
  NameDescription
Public propertyEffectiveType
Gets the URI of the datatype this valued node represents as a String.
(Inherited from BaseVariableNode.)
Public propertyGraph
Nodes belong to a Graph.
(Inherited from BaseNode.)
Public propertyGraphUri
Gets/Sets the Graph Uri of the Node.
(Inherited from BaseNode.)
Public propertyNodeType
Nodes have a Type.
(Inherited from BaseNode.)
Public propertyNumericType
Gets the numeric type of the expression.
(Inherited from BaseVariableNode.)
Public propertyVariableName
Gets the Variable Name.
(Inherited from BaseVariableNode.)
Top
Methods
  NameDescription
Public methodAsBoolean
Throws an error as variables cannot be converted to types.
(Inherited from BaseVariableNode.)
Public methodAsDateTime
Throws an error as variables cannot be converted to types.
(Inherited from BaseVariableNode.)
Public methodAsDateTimeOffset
Throws an error as variables cannot be converted to types.
(Inherited from BaseVariableNode.)
Public methodAsDecimal
Throws an error as variables cannot be converted to types.
(Inherited from BaseVariableNode.)
Public methodAsDouble
Throws an error as variables cannot be converted to types.
(Inherited from BaseVariableNode.)
Public methodAsFloat
Throws an error as variables cannot be converted to types.
(Inherited from BaseVariableNode.)
Public methodAsInteger
Throws an error as variables cannot be converted to types.
(Inherited from BaseVariableNode.)
Public methodAsString
Throws an error as variables cannot be converted to types.
(Inherited from BaseVariableNode.)
Public methodAsTimeSpan
Throws an error as variables cannot be cast to a time span.
(Inherited from BaseVariableNode.)
Public methodCompareTo(BaseVariableNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseVariableNode.)
Public methodCompareTo(IBlankNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseVariableNode.)
Public methodCompareTo(IGraphLiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseVariableNode.)
Public methodCompareTo(ILiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseVariableNode.)
Public methodCompareTo(INode)
Compares this Node to another Node.
(Inherited from BaseVariableNode.)
Public methodCompareTo(IUriNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseVariableNode.)
Public methodCompareTo(IVariableNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseVariableNode.)
Public methodCompareTo(VariableNode)
Compares this Node to another Variable Node.
Public methodEquals(Object)
Gets whether this Node is equal to some Object.
(Inherited from BaseVariableNode.)
Public methodEquals(BaseVariableNode)
Determines whether this Node is equal to a Variable Node.
(Inherited from BaseVariableNode.)
Public methodEquals(IBlankNode)
Determines whether this Node is equal to a Blank Node (should always be false).
(Inherited from BaseVariableNode.)
Public methodEquals(IGraphLiteralNode)
Determines whether this Node is equal to a Graph Literal Node (should always be false).
(Inherited from BaseVariableNode.)
Public methodEquals(ILiteralNode)
Determines whether this Node is equal to a Literal Node (should always be false).
(Inherited from BaseVariableNode.)
Public methodEquals(INode)
Gets whether this Node is equal to some other Node.
(Inherited from BaseVariableNode.)
Public methodEquals(IUriNode)
Determines whether this Node is equal to a URI Node (should always be false).
(Inherited from BaseVariableNode.)
Public methodEquals(IVariableNode)
Determines whether this Node is equal to a Variable Node.
(Inherited from BaseVariableNode.)
Public methodEquals(VariableNode)
Determines whether this Node is equal to a Variable Node.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Gets a Hash Code for a Node.
(Inherited from BaseNode.)
Public methodGetObjectData
Gets the data for serialization.
(Inherited from BaseVariableNode.)
Public methodGetSchema
Gets the schema for XML serialization.
(Inherited from BaseNode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadXml
Reads the data for XML deserialization.
(Inherited from BaseVariableNode.)
Public methodToString
Gets the String representation of this Node.
(Inherited from BaseVariableNode.)
Public methodToString(INodeFormatter)
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from BaseNode.)
Public methodToString(INodeFormatter, TripleSegment)
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from BaseNode.)
Public methodWriteXml
Writes the data for XML serialization.
(Inherited from BaseVariableNode.)
Top
Fields
  NameDescription
Protected field_graph
Reference to the Graph that the Node belongs to.
(Inherited from BaseNode.)
Protected field_graphUri
Uri of the Graph that the Node belongs to.
(Inherited from BaseNode.)
Protected field_hashcode
Stores the computed Hash Code for this Node.
(Inherited from BaseNode.)
Protected field_nodetype
Node Type for the Node.
(Inherited from BaseNode.)
Top
See Also