Sdílet prostřednictvím


VCCodeInterface.Bases Property

Gets a collection of classes from which this item derives.

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

Syntax

'Declaration
ReadOnly Property Bases As CodeElements
'Usage
Dim instance As VCCodeInterface
Dim value As CodeElements

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

Property Value

Type: CodeElements

A CodeElements collection.

Remarks

Bases are supertypes of CodeElements. For Visual Basic and Visual C# there is always only one element in the collection except when the code type is a CodeInterface.

Permissions

See Also

Concepts

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

Reference

VCCodeInterface Interface

VCCodeInterface Members

Microsoft.VisualStudio.VCCodeModel Namespace