VCCodeDelegate.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
'Usage
Dim instance As VCCodeDelegate 
Dim value As CodeElements 

value = instance.Members
CodeElements Members { get; }
property CodeElements^ Members {
    CodeElements^ get ();
}
function get Members () : CodeElements

Property Value

Type: EnvDTE.CodeElements
A CodeElements collection.

Remarks

When the code type kind is 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

VCCodeDelegate Interface

VCCodeDelegate Members

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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