Dela via


VCCodeFunction.Overloads Property

Gets a collection of overloaded methods for this item.

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

Syntax

'Declaration
ReadOnly Property Overloads As CodeElements
'Usage
Dim instance As VCCodeFunction 
Dim value As CodeElements 

value = instance.Overloads
CodeElements Overloads { get; }
property CodeElements^ Overloads {
    CodeElements^ get ();
}
function get Overloads () : CodeElements

Property Value

Type: EnvDTE.CodeElements
A CodeElements collection.

Remarks

Overloads returns a collection of all the methods with the same name that are defined textually alongside the specified code function (that is, lexically in the same class definition syntax). If IsOverloaded is false, then this collection contains only one element — the specified code function.

.NET Framework Security

See Also

Reference

VCCodeFunction Interface

VCCodeFunction Members

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples