Share via


Load Method

Populates the current RDF object with the properties that it needs to function properly.

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

Syntax

public void Load(
    Uri resourceId,
    TripleCollection trips
)

Parameters

  • resourceId
    Type: System. . :: .Uri
    The rdf:about of the current rdf:Description that the .NET object represents.

Remarks

This function should really only be called by the TripleCollection or the RDF .NET object constructor. If resourceId is null, the first item in the TripleCollection that is of the current .NET object type will be loaded. The most reliable way to load objects is to specify a resourceId.

Exceptions

Exception Condition
System. . :: .ArgumentException If the supplied TripleCollection does not contain the rdf:type that matches the current .NET type (as per the rules of the ontology), an ArgumentException will be thrown.

See Also

SubjectBase Class

Microsoft.Imm.Sdk.Rdf Namespace