ArcGISCoCreatableAttribute Class

The ArcGISCoCreatable attribute is set on a COM visible class. On deployment, ArcGIS adds classes marked as ArcGISCoCreatable to the ArcGIS coclass factory configuration. Use this attribute for custom SOAP types in SOEs or SOIs along with ComVisible, Guid and ProgId attributes.

Example: This example shows how to write ArcGISCocreatable class. Do not forget to replace Guid value.

1
2
3
4
5
6
    [ComVisible(true)]
    [Guid("8D7CF4B1-D915-4B31-B6BF-FB06FB9A3580")]
    [ClassInterface(ClassInterfaceType.None)]
    [ProgId("NetFindNearFeatures.CustomLayerInfos")]
    [ArcGISCoCreatable]
    public class CustomLayerInfos : SerializableList<CustomLayerInfo>

Constructors

NameDescription
ArcGISCoCreatableArcGISCoCreatableAttribute constructor has no parameters.

ArcGISCoCreatableAttribute Constructor

ArcGISCoCreatableAttribute constructor has no parameters.

1
public ArcGISCoCreatableAttribute()

Inheritance Hierarchy

Inheritance: System.AttributeESRI.Server.SOESupport.ArcGISCoCreatableAttribute

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close