Show / Hide Table of Contents

Class SharedTemplate

Describes features that can be created across layers within a geodatabase.

Inheritance
object
SharedTemplate
Implements
ILoadable
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SharedTemplate : ILoadable
Remarks

Specifies default attributes, symbology, tools, and settings for geometry construction and transformation.

Properties

Name Description
Definition

Gets a value that defines how the primary, related, part, or preset features are created.

Description

Gets the additional information about this template.

IsVisible

Gets a value indicating whether this template can be shown in a template picker.

LayerIds

Gets a collection of IDs that identify the layers where this template can be used.

LoadError

Gets the exception associated with a failed load. This property remains null if load is successful.

LoadStatus

Gets the current load status.

Name

Gets the name assigned to this template.

Tags

Gets the collection of tags for organizing and searching this template.

TemplateId

Gets a system-generated unique identifier.

TemplateSource

Gets the ISharedTemplateSource from which this template was queried.

Type

Gets the type of the shared template.

Methods

Name Description
CancelLoad()

Cancel the previous load operation.

CreateSwatchAsync(long, CancellationToken)

Creates a swatch image with the template's thumbnail or symbology from the specified layer.

GetConstructionToolOptions(GeometryConstructionTool)

Returns the configuration setting for the specified geometry construction tool.

GetDefaultConstructionTool(long)

Returns the template's construction tool or a determined default.

GetFields(long)

The collection of Field objects for features created with this template.

IsToolApplicable(GeometryConstructionToolType, long)

Determines whether the specified construction tool is applicable for the specified layer.

LoadAsync()

Asynchronously initiates loading of this shared template.

RetryLoadAsync()

Asynchronously retries loading of this shared template.

Events

Name Description
LoadStatusChanged

Occurs when the shared template LoadStatus is changed.

Loaded

Occurs when the shared template is loaded.

Applies to

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