ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / StyleItem Class / SetObject Method
The object from which style item's properties are populated

In This Topic
    SetObject Method
    In This Topic
    Sets the properties of the style item equal to the object passed as argument. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub SetObject( _
       ByVal itemObject As Object _
    ) 
    public void SetObject( 
       object itemObject
    )

    Parameters

    itemObject
    The object from which style item's properties are populated
    Exceptions
    ExceptionDescription
    This method must be called within the lambda passed to QueuedTask.Run
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also