Click or drag to resize

StringNode Methods

The StringNode type exposes the following members.

Methods
  NameDescription
Public methodAsBoolean
Gets the boolean value of the string.
Public methodAsDateTime
Throws an error as the string cannot be cast to a date time.
Public methodAsDateTimeOffset
Throws an error as the string cannot be cast to a date time.
Public methodAsDecimal
Throws an error as the string cannot be cast to a decimal.
Public methodAsDouble
Throws an error as the string cannot be cast to a double.
Public methodAsFloat
Throws an error as the string cannot be cast to a float.
Public methodAsInteger
Throws an error as the string cannot be cast to an integer.
Public methodAsString
Gets the string value.
Public methodAsTimeSpan
Throws an error as the string cannot be cast to a time span.
Public methodCompareTo(BaseLiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(IBlankNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(IGraphLiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(ILiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(INode)
Implementation of CompareTo for Literal Nodes.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(IUriNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(IVariableNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.)
Public methodCompareTo(LiteralNode)
Implementation of Compare To for Literal Nodes.
(Inherited from LiteralNode.)
Public methodEquals(Object)
Implementation of the Equals method for Literal Nodes.
(Inherited from BaseLiteralNode.)
Public methodEquals(BaseLiteralNode)
Determines whether this Node is equal to a Literal Node.
(Inherited from BaseLiteralNode.)
Public methodEquals(IBlankNode)
Determines whether this Node is equal to a Blank Node (should always be false).
(Inherited from BaseLiteralNode.)
Public methodEquals(IGraphLiteralNode)
Determines whether this Node is equal to a Graph Literal Node (should always be false).
(Inherited from BaseLiteralNode.)
Public methodEquals(ILiteralNode)
Determines whether this Node is equal to a Literal Node.
(Inherited from BaseLiteralNode.)
Public methodEquals(INode)
Implementation of the Equals method for Literal Nodes.
(Inherited from BaseLiteralNode.)
Public methodEquals(IUriNode)
Determines whether this Node is equal to a URI Node (should always be false).
(Inherited from BaseLiteralNode.)
Public methodEquals(IVariableNode)
Determines whether this Node is equal to a Variable Node (should always be false).
(Inherited from BaseLiteralNode.)
Public methodEquals(LiteralNode)
Determines whether this Node is equal to a Literal Node.
(Inherited from LiteralNode.)
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 serialization information.
(Inherited from BaseLiteralNode.)
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 BaseLiteralNode.)
Public methodToString
Gets a String representation of a Literal Node.
(Inherited from BaseLiteralNode.)
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 BaseLiteralNode.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsDynamic
Dynamically wraps a node.
(Defined by DynamicExtensions.)
Public Extension MethodAsSafeBoolean
Tries to get the result of calling AsBoolean() on a node throwing an error if the node is null.
(Defined by ValuedNodeExtensions.)
Public Extension MethodAsValuedNode
Takes a INode and converts it to a IValuedNode if it is not already an instance that implements the interface.
(Defined by ValuedNodeExtensions.)
Public Extension MethodCopyNode(IGraph)Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.)
Public Extension MethodCopyNode(IGraph, Boolean)Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.)
Public Extension MethodIsListRoot
Gets whether a given Node is valid as a List Root, this does not guarantee that the list itself is valid simply that the Node appears to be the root of a list.
(Defined by Extensions.)
Top
See Also