ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework Namespace / ComponentElement Class / CreateComponent Method

In This Topic
    CreateComponent Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also