CodeVariable2.Collection 属性

定义

获取包含支持此属性的 CodeVariable 对象的集合。Gets the collection containing the CodeVariable object supporting this property.

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

属性值

CodeElements

一个 CodeElements 集合。A CodeElements collection.

实现

属性

注解

备注

在进行了某些类型的编辑之后,代码模型元素(例如类、结构、函数、特性、委托等)的值可能变为非确定性的,这意味着不能确定它们的值始终保持不变。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.

适用于