DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 10:32:02 -0700,    posted on: microsoft.public.dotnet.framework.sdk        back       

Thread Index
  1    jim
          2    Mattias Sjgren


IMetaDataImport::GetFieldProps getting a type   
The documentation for GetFieldProps indicates I can get the type of the field 
from the second parameter (pClass [out] A pointer to a TypeDef token that 
represents the type of the field.)  Unfortunately, it appears that it is 
returning the type of the class in which the field is defined.  Is there a 
way to get the type of a field using the unmanaged API?

thanks - Jim
Date:Fri, 17 Aug 2007 10:32:02 -0700   Author:  

Re: IMetaDataImport::GetFieldProps getting a type   

>Is there a way to get the type of a field using the unmanaged API?


The field type is returned as part of the signature, in ppvSigBlob.


Mattias

-- 
Mattias Sjgren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Date:Fri, 17 Aug 2007 19:51:27 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us