How get CodedValueDomain from field and feature(class)

Discussion created by michael.robin@adapx.com on Jun 30, 2010
Latest reply on Jul 1, 2010 by michael.robin@adapx.com
I have an IField and an IFeature (and thereby the FeatureClass.)
How can I get an IRangeDomain/ICodedValueDomain from this info?
I only see examples on using the featureClass.FeatureDataset.Workspace as an IWorkspaceDomain, but (a) the fc.FeatureDataset is null, and (b) I only want the domain for the field that I already have an instance/index of from the featureclass.