共用方式為


VCCodeInterface.Collection Property

Gets the collection containing the object supporting this property or contained within this code construct.

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

Syntax

'宣告
ReadOnly Property Collection As CodeElements
    Get
CodeElements Collection { get; }
property CodeElements^ Collection {
    CodeElements^ get ();
}
abstract Collection : CodeElements
function get Collection () : CodeElements

Property Value

Type: EnvDTE.CodeElements
A CodeElements collection.

.NET Framework Security

See Also

Reference

VCCodeInterface Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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