ArcGIS Pro 2.7 API Reference Guide
CreateComponent Method

ArcGIS.Desktop.Framework Namespace > ComponentElement Class : CreateComponent Method
Instantiates the component.
Syntax
public object CreateComponent( 
   params object[] args
)
Public Function CreateComponent( _
   ByVal ParamArray args() As Object _
) As Object

Parameters

args
Exceptions
ExceptionDescription
Throws an exception if the component is referencing a DAML control such as a Button.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ComponentElement Class
ComponentElement Members