When you're inside the EE, you can certainly get an IMetaDataImport pointer. 
For example, if you have a Module*, you can get its IMetaDataImport pointer.

If you'd like to use the internal import interface, after doing a 
GetSigOfFieldDef, you can use FieldSig class (siginfo.*pp) to pick out every 
detail of the signature, including the field type.

Nam

On 5/11/05, Arild Fines <[EMAIL PROTECTED]> wrote:
> 
> Given an mdFieldDef, is there a way to get an mdTypeDef for the type of
> the field the mdFieldDef represents? IMetaDataImport defines a
> GetFieldProps method, which seems to be able to do what I want, but
> internally in the EE you only seem to have access to the
> IMDInternalImport interface, which seems vaguely different.
> 
> IMDInternalImport defines the method GetSigOfFieldDef(), which returns a
> PCOR_SIGNATURE, but I don't seem to be able to find a way to get a
> metadata token from that either.
> 
> --
> Arild
> 
> AnkhSVN: http://ankhsvn.tigris.org
> Blog: http://ankhsvn.com/blog
> IRC: irc://irc.freenode.net/ankhsvn
> 
> "The problem in the world today is communication. Too much
> communication." -- Homer Simpson
> 
> ===================================
> This list is hosted by DevelopMentor(r) http://www.develop.com
> 
> View archives and manage your subscription(s) at 
> http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to