GraphPatternBuilderOptional Method |
Adds an OPTIONAL graph pattern to the SPARQL query or graph pattern.
Namespace:
VDS.RDF.Query.Builder
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public IGraphPatternBuilder Optional(
Action<IGraphPatternBuilder> buildGraphPattern
)
Public Function Optional (
buildGraphPattern As Action(Of IGraphPatternBuilder)
) As IGraphPatternBuilder
Parameters
- buildGraphPattern
- Type: SystemActionIGraphPatternBuilder
[Missing <param name="buildGraphPattern"/> documentation for "M:VDS.RDF.Query.Builder.GraphPatternBuilder.Optional(System.Action{VDS.RDF.Query.Builder.IGraphPatternBuilder})"]
Return Value
Type:
IGraphPatternBuilder[Missing <returns> documentation for "M:VDS.RDF.Query.Builder.GraphPatternBuilder.Optional(System.Action{VDS.RDF.Query.Builder.IGraphPatternBuilder})"]
Implements
IGraphPatternBuilderOptional(ActionIGraphPatternBuilder)See Also