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
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.12 - 100.15 | 
| .NET 6.0 | 100.13 - 100.15 | 
| .NET 6.0 Windows | 100.13 - 100.15 | 
| .NET Framework | 100.12 - 100.15 | 
| .NET 5 | 100.12 | 
| .NET Core 3.1 | 100.12 | 
| Xamarin.Android | 100.12 - 100.15 | 
| Xamarin.iOS | 100.12 - 100.15 | 
| UWP | 100.12 - 100.15 |