Show / Hide Table of Contents

Constructor SiteLayerDefinition

SiteLayerDefinition(String, String, String)

Initializes a new instance of the SiteLayerDefinition class with the specified layer id, site name attribute field, and site id attribute field.

Declaration
public SiteLayerDefinition(string layerId, string nameField, string siteIdField)
Parameters
Type Name Description
System.String layerId

An Id that specifies a layer in the map or scene that contains site features.

System.String nameField

The Name of the attribute field that contains each site feature's name.

System.String siteIdField

The Name of the attribute field that contains each site feature's unique identifier.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.12 - 200.8
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.8
In This Article
Back to top Copyright © 2022 Esri.