Click or drag to resize

DynamicObjectCollection Class

Represents a read/write dynamic collection of objects by subject and predicate.
Inheritance Hierarchy

Namespace:  VDS.RDF.Dynamic
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class DynamicObjectCollection : ICollection<Object>, 
	IEnumerable<Object>, IEnumerable, IDynamicMetaObjectProvider

The DynamicObjectCollection type exposes the following members.

Constructors
  NameDescription
Public methodDynamicObjectCollection
Initializes a new instance of the DynamicObjectCollection class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of statements with given subject and predicate.
Public propertyIsReadOnly
Gets a value indicating whether this collection is read only (always false).
Protected propertyObjects
Gets objects of statements with given subject and predicate.
Top
Methods
  NameDescription
Public methodAdd
Asserts statements equivalent to given subject and predicate and object.
Public methodClear
Retracts statements with given subject and predicate.
Public methodContains
Checks whether a statement exists equivalent to given subject and predicate and object.
Public methodCopyTo
Copies objects of statements with given subject and predicate array starting at index.
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 methodGetEnumerator
Returns an enumerator that iterates through objects of statements with given subject and predicate.
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 methodRemove
Retracts statements equivalent to given subject and predicate and object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also