Type

This property returns the type of the currently selected member or project.

Syntax

object.Type

Parameters

object
Object expression that evaluates to a Member or Project object.

Return Values

The Type property settings for the Member object are:

Value
Description
1 Member is a method.
2 Member is a property.
3 Member is a variable.
4 Member is an event.
5 Member is an enumerated value.
6 Member is a constant.
7 Member is an event sink.

The Type property settings for the Project object are:

Value
Description
1 Project type is Standard EXE.
2 Project type is ActiveX EXE.
3 Project type is ActiveX DLL.
4 Project type is ActiveX Control.

The Type property settings for the CommandBar object are:

Value
Description
0 CommandBar control is a Button.
1 CommandBar control is a ComboBox.
2 CommandBar control is a MenuBar.

Remarks

The Type property is read-only.