Class ArcGISCoCreatableAttribute

Namespace
ESRI.Server.SOESupport
Assembly
ESRI.Server.SOESupport.dll

The ArcGISCoCreatable attribute is set on COM visible class. On add-in 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.

[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class ArcGISCoCreatableAttribute : Attribute
Inheritance
ArcGISCoCreatableAttribute
Inherited Members

Examples

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

ArcGISCoCreatableAttribute()

ArcGISCoCreatableAttribute constructor has no parameters.

public ArcGISCoCreatableAttribute()