public SceneLayerDataSourceType GetDataSourceType()
Public Function GetDataSourceType() As SceneLayerDataSourceType
public SceneLayerDataSourceType GetDataSourceType()
Public Function GetDataSourceType() As SceneLayerDataSourceType
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
//var pcsl = ...; //At 2.x - ISceneLayerInfo slInfo = pcsl as ISceneLayerInfo; // SceneLayerDataSourceType dataSourceType = slInfo.GetDataSourceType(); SceneLayerDataSourceType dataSourceType = pcsl.GetDataSourceType(); if (dataSourceType == SceneLayerDataSourceType.Service) { //TODO... } else if (dataSourceType == SceneLayerDataSourceType.SLPK) { }
Target Platforms: Windows 11, Windows 10, Windows 8.1