Getting the Domain and Length of a field

114
2
Jump to solution
01-03-2018 10:22 AM
Highlighted
Regular Contributor

I need to get the Domain and Length for each field from a selected feature.  In ArcObjects I could use these methods to get it:

layerFields.get_Field(i).Domain

layerFields.get_Field(i).Length

I cannot find anything in the ArcPro SDK that is similar.  The FieldDescription Class has some members that I also need, but not the two above.

Can anyone provide some advice, or is this just not available yet?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri Regular Contributor

Brian,

Take a look at the Fields topic in the geodatabase concepts wiki.

You can return the fields from a number of objects. You can get the field info from there.

View solution in original post

0 Kudos
2 Replies
Highlighted
Esri Regular Contributor

Brian,

Take a look at the Fields topic in the geodatabase concepts wiki.

You can return the fields from a number of objects. You can get the field info from there.

View solution in original post

0 Kudos
Highlighted
Regular Contributor

Thanks Sean!

0 Kudos