OntologyResourceAddLiteralProperty Method (String, ILiteralNode, Boolean) |
Adds a new literal value for a property.
Namespace:
VDS.RDF.Ontology
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public bool AddLiteralProperty(
string propertyUri,
ILiteralNode value,
bool persist
)
Public Function AddLiteralProperty (
propertyUri As String,
value As ILiteralNode,
persist As Boolean
) As Boolean
Parameters
- propertyUri
- Type: SystemString
Property URI. - value
- Type: VDS.RDFILiteralNode
Literal Value. - persist
- Type: SystemBoolean
Whether the new value should be added to the Graph.
Return Value
Type:
Boolean[Missing <returns> documentation for "M:VDS.RDF.Ontology.OntologyResource.AddLiteralProperty(System.String,VDS.RDF.ILiteralNode,System.Boolean)"]
See Also