create With Wkid Or Null
Creates a spatial reference based on WKID for the horizontal coordinate system and vertical coordinate system. The method creates a spatial reference that has both horizontal and vertical coordinate systems. When the vertical WKID is null or less than or equal to 0, this is equivalent to calling SpatialReference (wkid: Int), and the spatial reference will not have a vertical coordinate system associated with it. If an error occurs due to an invalid wkid or verticalWkid, this function will return null.
Since
300.0.0
Parameters
wkid
The well-known ID of the horizontal coordinate system. Must be a supported well-known ID.
vertical Wkid
The well-known ID of the vertical coordinate system. Must be a supported well-known ID.