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 Com
, Guid
and Prog
attributes.
Example: This example shows how to write ArcGISCocreatable class. Do not forget to replace Guid
value.
[ComVisible(true)]
[Guid("8D7CF4B1-D915-4B31-B6BF-FB06FB9A3580")]
[ClassInterface(ClassInterfaceType.None)]
[ProgId("NetFindNearFeatures.CustomLayerInfos")]
[ArcGISCoCreatable]
public class CustomLayerInfos : SerializableList<CustomLayerInfo>
Constructors
Name | Description |
---|---|
ArcGISCoCreatable | ArcGISCoCreatableAttribute constructor has no parameters. |
ArcGISCoCreatableAttribute Constructor
ArcGISCoCreatableAttribute constructor has no parameters.
public ArcGISCoCreatableAttribute()
Inheritance Hierarchy
Inheritance: System.Attribute → ESRI.Server.SOESupport.ArcGISCoCreatableAttribute