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.

Use dark colors for code blocksCopy
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.

Use dark colors for code blocksCopy
1
public ArcGISCoCreatableAttribute()

Inheritance Hierarchy

Inheritance: System.Attribute → ESRI.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.