共用方式為


VSTASKFIELD Enumeration

Specifies the field of a task item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Public Enumeration VSTASKFIELD
public enum VSTASKFIELD
public enum class VSTASKFIELD
type VSTASKFIELD
public enum VSTASKFIELD

Members

Member name Description
FLD_BITMAP The bitmap icon for the task. See _vstaskbitmap, ImageList, ImageListIndex.
FLD_CATEGORY Task category. Not visible in the task list, but used for sorting. See VSTASKCATEGORY, RegisterCustomCategory, and Category.
FLD_CHECKED Check box field of the task. See get_Checked.
FLD_COLUMN 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.
FLD_CUSTOM A customized field of the task. See get_CustomColumnText.
FLD_DESCRIPTION Task description. See get_Text, Text.
FLD_FILE File associated with the task. A specific file does not have to be specified. See Document.
FLD_LINE Line in a file that the task is associated with. A specific line does not have to be specified. See Line.
FLD_PRIORITY Task priority. See vsTaskPriority, get_Priority, Priority.
FLD_PROVIDERKNOWSORDER 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, RegisterCustomCategory, AutoFilter2.
FLD_SUBCATEGORY Task subcategory. Not visible in the task list, but used for sorting. See SubcategoryList, SubcategoryIndex.

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:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace