IInterfaceInfo.Functions Property

Gets a collection of functions for the parent object.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
ReadOnly Property Functions As Object
Object Functions { get; }
property Object^ Functions {
    Object^ get ();
}
abstract Functions : Object with get
function get Functions () : Object

Property Value

Type: System.Object
A collection of functions for the parent object.

Examples

This example retrieves a collection of all global functions and displays their names.

    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

See How to: Compile Example Code for Visual C++ Code Model Extensibility for information about how to compile and run this example.

.NET Framework Security

See Also

Reference

IInterfaceInfo Interface

Microsoft.VisualStudio.VsWizard Namespace