VCCodeVariable.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
'Declaration
ReadOnly Property Collection As CodeElements
'Usage
Dim instance As VCCodeVariable
Dim value As CodeElements
value = instance.Collection
CodeElements Collection { get; }
property CodeElements^ Collection {
CodeElements^ get ();
}
function get Collection () : CodeElements
Property Value
Type: EnvDTE.CodeElements
A CodeElements collection.
.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