This document is archived and information here might be outdated.  Recommended version.


IProjectedCoordinateSystem4GEN.FactoryCode Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IProjectedCoordinateSystem4GEN.FactoryCode Property

The factory code of the spatial reference.

[Visual Basic .NET]
Public ReadOnly Property FactoryCode As Integer
[C#]
public int FactoryCode {get;}
[C++]
HRESULT get_FactoryCode(
  long* Code
);
[C++]

Parameters Code [out, retval] Code is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The factory code is an integer identifier that is unique by projection engine object type, such as a projected coordinate system. You can use a factory code in the ISpatialReferenceFactory::CreateProjectedCoordinateSystem method. If you create a custom projected coordinate system, the factory code is zero.

See Also

IProjectedCoordinateSystem4GEN Interface