Click or drag to resize

DatasetGraphCollectionAdd Method

Adds a Graph to the Collection.

Namespace:  VDS.RDF.Query.Datasets
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
protected override bool Add(
	IGraph g,
	bool mergeIfExists
)

Parameters

g
Type: VDS.RDFIGraph
Graph to add.
mergeIfExists
Type: SystemBoolean
Whether to merge the given Graph with any existing Graph with the same URI.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:VDS.RDF.Query.Datasets.DatasetGraphCollection.Add(VDS.RDF.IGraph,System.Boolean)"]

Exceptions
ExceptionCondition
RdfExceptionThrown if a Graph with the given URI already exists and the mergeIfExists is set to false.
See Also