Share via


SubjectBase Constructor (IXPathNavigable, GetNewId)

Instantiate a new RDF object from the provided RDF XML doc. Loading the first object of the current type that is found.

Namespace:  Microsoft.Imm.Sdk.Rdf
Assembly:  Microsoft.Imm.Sdk (in Microsoft.Imm.Sdk)
Version: 1.0.0.0 (1.0.0.0)

Syntax

protected SubjectBase(
    IXPathNavigable doc,
    GetNewId newIdDelegate
)

Parameters

  • newIdDelegate
    Type: Microsoft.Imm.Sdk.Rdf. . :: .GetNewId
    The delegate that will be called to generate a new ID in the case that an RDF object is loaded that doesn't already contain an ID in the RDF XML.

Remarks

This is not the best way to load an RDF object. It is best if the ID is known as ensuring the order that the objects occur in the processed RDF may not be reliable.

See Also

SubjectBase Class

SubjectBase Overload

Microsoft.Imm.Sdk.Rdf Namespace