VCCodeStruct::Functions Property
Visual Studio 2015
Gets a collection of functions for the object.
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
This example retrieves a collection of all global functions and displays their names.
[Visual Basic]
Sub GetGlobalFunctions()
Dim vcElement As VCCodeElement
Dim vcElements As VCCodeElements
vcElements = DTE.Solution.Item(1).CodeModel.Functions
For Each vcElement In vcElements
MsgBox(vcElement.DisplayName)
Next
End Sub
Show: