共用方式為


VCCodeDelegate.Members Property

Definition

Gets a collection of items contained by this element.

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

Property Value

A CodeElements collection.

Attributes

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.

Applies to