CodeStruct2::Members Property

 

Gets a collection of CodeElements contained by this CodeStruct.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

property CodeElements^ Members {
	CodeElements^ get();
}

Property Value

Type: EnvDTE::CodeElements^

A CodeElements collection.

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 the .NET Framework.

System_CAPS_noteNote

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.

Return to top
Show: