共用方式為


CodeModel2.CodeElements Property

Definition

Gets a collection of CodeElements.

public:
 property EnvDTE::CodeElements ^ CodeElements { EnvDTE::CodeElements ^ get(); };
[System.Runtime.InteropServices.DispId(4)]
public EnvDTE.CodeElements CodeElements { [System.Runtime.InteropServices.DispId(4)] get; }
[<System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.DispId(4)>]
member this.CodeElements : EnvDTE.CodeElements
Public ReadOnly Property CodeElements As CodeElements

Property Value

A CodeElements collection.

Implements

Attributes

Remarks

Note

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same.

Applies to