Show / Hide Table of Contents

Constructor ArcGISSceneLayer

ArcGISSceneLayer(Uri)

Initializes a new instance of the ArcGISSceneLayer class with the specified URI.

Declaration
public ArcGISSceneLayer(Uri source)
Parameters
Type Name Description
System.Uri source

The endpoint of the scene service layer or the path to a scene layer package.

Remarks

Use this constructor to create a ArcGISSceneLayer. Once the layer is created you will have to set the URI by using the Source property. This method exists to support XAML creation of a ArcGISSceneLayer.

It is recommended that you use the ArcGISSceneLayer(Uri) constructor for creating a layer with an associated URI.

Exceptions
Type Condition
System.ArgumentNullException

source is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
Relevant samples
Group layers: Group a collection of layers together and toggle their visibility as a group.
Scene layer selection: Identify features in a scene to select.

ArcGISSceneLayer(Item)

Initializes a new instance of the ArcGISSceneLayer class from the specified PortalItem.

Declaration
public ArcGISSceneLayer(Item item)
Parameters
Type Name Description
Item item

The PortalItem from which to create the layer.

Remarks

The PortalItem will be accessible through the Item property.

Applies to

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