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

Using the DTE to enumerate code elements - Structures (VB.Net)

$
0
0

When parsing a VB.NET module and getting back a structure element I would expect to get the 1st line here with the struct layout directive but it returns the public structure as the start of the struct. Why is the directive not referenced when using the DTE.CodeElements?

<StructLayout(LayoutKind.Sequential)> _
Public Structure MMCBUTTON
    Public nBitmap As Integer
    Public idCommand As Integer
    Public fsState As Byte
    Public fsType As Byte
    Public lpButtonText As Integer
    Public lpTooltipText As Integer
End Structure


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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