Returns or sets the source code control icon (or "glyph") for the project in the project window, indicating its status.
Syntax
object.IconState [= value ]
The IconState property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A long integer or constant that determines the file status, as described in Settings. |
Settings
The settings for value are:
Constant | Value | Description |
vbextSCCStatusNotControlled | 0 | File is not under source code control. |
vbextSCCStatusControlled | 1 | File is under source code control. |
vbextSCCStatusCheckedOut | 2 | File is checked out to current user. |
vbextSCCStatusOutOther | 4 | File is checked out to another user. |
vbextSCCStatusOutOfDate | 32 | The file is not the most recent. |
vbextSCCStatusShared | 512 | File is shared between projects. |
Remarks
The IconState property can be logically OR'ed together to form combined states.