ArcGIS Pro 2.6 API Reference Guide
GetRenderer(FeatureRendererTarget) Method

ArcGIS.Desktop.Mapping Namespace > FeatureLayer Class > GetRenderer Method : GetRenderer(FeatureRendererTarget) Method
A FeatureRendererTarget indicating the intended usage of the resulting renderer.
Returns the renderer used to draw the feature layer This method must be called on the MCT. Use QueuedTask.Run
Syntax

Parameters

featureRendererTarget
A FeatureRendererTarget indicating the intended usage of the resulting renderer.

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Intended for use with StreamLayer. For non-stream layer types use FeatureRendererTarget.Default.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

FeatureLayer Class
FeatureLayer Members
Overload List