Click or drag to resize

QueryBuilderExtensionsOptional Method

Namespace:  VDS.RDF.Query.Builder
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static IQueryBuilder Optional(
	this IQueryBuilder queryBuilder,
	Action<IGraphPatternBuilder> buildGraphPattern
)

Parameters

queryBuilder
Type: VDS.RDF.Query.BuilderIQueryBuilder

[Missing <param name="queryBuilder"/> documentation for "M:VDS.RDF.Query.Builder.QueryBuilderExtensions.Optional(VDS.RDF.Query.Builder.IQueryBuilder,System.Action{VDS.RDF.Query.Builder.IGraphPatternBuilder})"]

buildGraphPattern
Type: SystemActionIGraphPatternBuilder

[Missing <param name="buildGraphPattern"/> documentation for "M:VDS.RDF.Query.Builder.QueryBuilderExtensions.Optional(VDS.RDF.Query.Builder.IQueryBuilder,System.Action{VDS.RDF.Query.Builder.IGraphPatternBuilder})"]

Return Value

Type: IQueryBuilder

[Missing <returns> documentation for "M:VDS.RDF.Query.Builder.QueryBuilderExtensions.Optional(VDS.RDF.Query.Builder.IQueryBuilder,System.Action{VDS.RDF.Query.Builder.IGraphPatternBuilder})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also