VCCodeEnum.Members Property

Gets a collection of items contained by this element.

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

Syntax

'Declaration
ReadOnly Property Members As CodeElements
CodeElements Members { get; }
property CodeElements^ Members {
    CodeElements^ get ();
}
abstract Members : CodeElements with get
function get Members () : CodeElements

Property Value

Type: EnvDTE.CodeElements
A CodeElements collection.

Remarks

When the code type kind is EnvDTE.vsCMElement.vsCMElementDelegate, the Members method fails because delegates have no members in the source code. They are contributed by the compiler and .NET Framework.

.NET Framework Security

See Also

Reference

VCCodeEnum Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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