Partager 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
CodeElements Overloads { get; }
property CodeElements^ Overloads {
    CodeElements^ get ();
}
abstract Overloads : CodeElements with 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

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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