VCCodeClass.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
'宣告
ReadOnly Property Bases As CodeElements
Get
CodeElements Bases { get; }
property CodeElements^ Bases {
CodeElements^ get ();
}
abstract Bases : CodeElements
function get Bases () : CodeElements
Property Value
Type: EnvDTE.CodeElements
A CodeElements collection.
Remarks
Bases are super types 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.VCCodeModel Namespace
Other Resources
How to: Compile and Run the Automation Object Model Code Examples