ArcGIS Pro 3.0 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, Windows 8.1

    See Also