Click or drag to resize

VariablePattern Class

Pattern which matches Variables.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Patterns
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class VariablePattern : PatternItem

The VariablePattern type exposes the following members.

Constructors
  NameDescription
Public methodVariablePattern(String)
Creates a new Variable Pattern.
Public methodVariablePattern(String, Boolean)
Creates a new Variable Pattern.
Top
Properties
  NameDescription
Public propertyBindingContext
Sets the Binding Context for the Pattern Item.
(Inherited from PatternItem.)
Public propertyRepeated
Gets/Sets whether the Variable is repeated in the Pattern.
(Inherited from PatternItem.)
Public propertyRigorousEvaluation
Gets/Sets whether rigorous evaluation is used, note that this setting may be overridden by the global RigorousEvaluation option.
(Inherited from PatternItem.)
Public propertyVariableName
Gets the Name of the Variable this Pattern matches.
(Overrides PatternItemVariableName.)
Top
Methods
  NameDescription
Protected methodAccepts
Checks whether the given Node is a valid value for the Variable in the current Binding Context.
(Overrides PatternItemAccepts(SparqlEvaluationContext, INode).)
Protected methodConstruct
Constructs a Node based on the given Set.
(Overrides PatternItemConstruct(ConstructContext).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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
Serves as the default hash function.
(Inherited from Object.)
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 methodToString
Gets the String representation of this pattern.
(Overrides PatternItemToString.)
Top
Fields
  NameDescription
Protected field_context
Binding Context for Pattern Item.
(Inherited from PatternItem.)
Top
See Also