ArcGIS Pro 2.8 API Reference Guide
ToSRWkid Property
Example 

ArcGIS.Core.Geometry Namespace > GeographicTransformationListEntry Class : ToSRWkid Property
Gets the well-known ID of the spatial reference to which the data will be projected.
Syntax
public int ToSRWkid {get;}
Public ReadOnly Property ToSRWkid As Integer
Example
// a geographic transformation is the definition of how to project from one spatial reference to another
IReadOnlyList<GeographicTransformationListEntry> list = GeometryEngine.Instance.GetPredefinedGeographicTransformationList();

// a GeographicTransformationListEntry consists of Name, Wkid, the From SpatialReference Wkid, the To SpatialReference Wkid
GeographicTransformationListEntry entry = list[0];

int fromWkid = entry.FromSRWkid;
int toWkid = entry.ToSRWkid;
int wkid = entry.Wkid;
string name = entry.Name;
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GeographicTransformationListEntry Class
GeographicTransformationListEntry Members