Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VS Package 2010: exception in CodeVariable2

$
0
0

Hi

I've been doing VS package migration from 2008 to 2010 and this particular piece of code throws COMException (This method or operation is not implemented) when I try to access "Type" property.

CodeVariable2 variable = ...
if (variable.Type.TypeKind == vsCMTypeRef.vsCMTypeRefArray)...

The actual types of inspected model are strings, lists etc. This works well in 2008 though.

Is this a known issue and if so - could anyone suggest another way to find out about the variable type?

Thanks.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>