共用方式為


VSTASKFIELD Enum

Definition

Specifies the field of a task item.

public enum class VSTASKFIELD
public enum class VSTASKFIELD
enum VSTASKFIELD
public enum VSTASKFIELD
type VSTASKFIELD = 
Public Enum VSTASKFIELD
Inheritance
VSTASKFIELD

Fields

Name Value Description
FLD_PRIORITY 0

Task priority. See vsTaskPriority, get_Priority(VSTASKPRIORITY[]), Priority(VSTASKPRIORITY[]).

FLD_CATEGORY 1

Task category. Not visible in the task list, but used for sorting. See VSTASKCATEGORY, RegisterCustomCategory(Guid, UInt32, VSTASKCATEGORY[]), and Category(VSTASKCATEGORY[]).

FLD_SUBCATEGORY 2

Task subcategory. Not visible in the task list, but used for sorting. See SubcategoryList(UInt32, String[], UInt32), SubcategoryIndex(Int32).

FLD_BITMAP 3

The bitmap icon for the task. See _vstaskbitmap, ImageList(IntPtr), ImageListIndex(Int32).

FLD_CHECKED 4

Check box field of the task. See get_Checked(Int32).

FLD_DESCRIPTION 5

Task description. See get_Text(String), Text(String).

FLD_FILE 6

File associated with the task. A specific file does not have to be specified. See Document(String).

FLD_LINE 7

Line in a file that the task is associated with. A specific line does not have to be specified. See Line(Int32).

FLD_COLUMN 8

Column that the task is associated with in the specified file. A specific column does not need to be specified. Not visible in the task list. See Column(Int32).

FLD_CUSTOM 9

A customized field of the task. See get_CustomColumnText(Guid, UInt32, String).

FLD_PROVIDERKNOWSORDER 10

Not visible in the task list, but used for sorting. If this value is specified, then this indicates that the sort order specified by the task provider should be used by the task list rather than the default sort. This would be done only within a custom view. See MaintainInitialTaskOrder(Int32), RegisterCustomCategory(Guid, UInt32, VSTASKCATEGORY[]), AutoFilter2(Guid).

Remarks

The enumerations of VSTASKFIELD are used to describe the various columns that can be displayed in a view of the task list. The task list creates a view by specifying which of the fields are shown and the order in which they are sorted.

COM Signature

From vsshell.idl:

Applies to