共用方式為


CODEMEMBERTYPE Enumeration

Used to specify the type of code members that are to be returned from a list of code members.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Public Enumeration CODEMEMBERTYPE
'用途
Dim instance As CODEMEMBERTYPE
public enum CODEMEMBERTYPE
public enum class CODEMEMBERTYPE
type CODEMEMBERTYPE
public enum CODEMEMBERTYPE

Members

Member name Description
CODEMEMBERTYPE_EVENTS Specifies an event type.
CODEMEMBERTYPE_EVENT_HANDLERS Specifies an event handler type.
CODEMEMBERTYPE_USER_FUNCTIONS Specifies a user function type.

Remarks

COM Signature

From singlefileeditor.idl:

typedef enum _CODEMEMBERTYPE {
    CODEMEMBERTYPE_EVENTS         = 0x00000001,
    CODEMEMBERTYPE_EVENT_HANDLERS = 0x00000002,
    CODEMEMBERTYPE_USER_FUNCTIONS = 0x00000004
} CODEMEMBERTYPE;

These values are passed as flags to the GetMembers method in the IVsContainedLanguageCodeSupport interface.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace