ArcGIS Pro 2.6 API Reference Guide
GetFeatureClass Method (FeatureSceneLayer)

ArcGIS.Desktop.Mapping Namespace > FeatureSceneLayer Class : GetFeatureClass Method
Gets the associated feature class. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public FeatureClass GetFeatureClass()
Public Function GetFeatureClass() As FeatureClass

Return Value

Exceptions
ExceptionDescription
No associated feature service
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Only FeatureSceneLayers with an associated feature service can return a feature class. Check HasAssociatedFeatureService property to determine if the FeatureSceneLayer has an associated feature service. Calling GetFeatureClass() on a FeatureSceneLayer with no associated feature service will throw a System.InvalidOperationException
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

FeatureSceneLayer Class
FeatureSceneLayer Members