Getting the Domain and Length of a field

804
2
Jump to solution
01-03-2018 10:22 AM
BrianBulla
Occasional Contributor III

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
by Anonymous User
Not applicable

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
by Anonymous User
Not applicable

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.

0 Kudos
BrianBulla
Occasional Contributor III

Thanks Sean!

0 Kudos