restrictToReferencedLayers property

bool get restrictToReferencedLayers

True to only return templates with all parts specified in the SharedTemplateQueryParameters.layerIds; otherwise, false. Default is true.

When set to true, a template is returned only if the layers for the primary feature and its template parts are all included in the SharedTemplateQueryParameters.layerIds.

When set to false, a template is returned as long the layer for the primary feature is included in the SharedTemplateQueryParameters.layerIds.

This parameter is relevant only when SharedTemplateQueryParameters.layerIds is not empty and the SharedTemplateQueryParameters.sourceType is SharedTemplateQuerySourceType.database or SharedTemplateQuerySourceType.all.

set restrictToReferencedLayers (bool value)