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
- doc
Type: System.Xml.XPath. . :: .IXPathNavigable
Document containing RDF XML to load into the initialized object.
- 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.