Show / Hide Table of Contents

Property RestrictToReferencedLayers

RestrictToReferencedLayers

Gets or sets a value indicating whether to only return templates with all parts specified in the LayerIds; otherwise, false. Default is true.

Declaration
public bool RestrictToReferencedLayers { get; set; }
Property Value
Type Description
bool

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

Remarks

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 LayerIds.

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

This parameter is relevant only when LayerIds is not empty and the SourceType is Database or All.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.