VSTASKCOLUMN Structure

Column definitions for tasks.

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

public struct VSTASKCOLUMN

The VSTASKCOLUMN type exposes the following members.

  NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public fieldbstrCanonicalNameString containing the non-localized name of the column header. It must be unique within this provider's column list.
Public fieldbstrHeadingString containing the text in header. bstrHeading may be null to indicate an image.
Public fieldbstrLocalizedNameString containing the localized name for the column header.
Public fieldbstrTipString containing the tooltip for the column header.
Public fieldcxDefaultWidthThe default column width in pixels.
Public fieldcxMinWidthThe minimum column width in pixels.
Public fieldfAllowHideFlag indicating whether the user is allowed to change the column's visibility.
Public fieldfAllowUserSortFlag indicating whether the user is allowed to sort by clicking on the column's header.
Public fieldfDescendingSortFlag indicating the column is sorted in descending order (default is ascending).
Public fieldfDynamicSizeFlag indicating whether the task list is allowed to resize the column automatically to make content fit better.
Public fieldfFitContentColumn will be automatically resized to fit whenever its content changes.
Public fieldfMoveableFlag indicating whether the column may be dragged to another position by the user.
Public fieldfShowSortArrowFlag indicating whether a sort arrow is shown in the header when the list is sorted by this column.
Public fieldfSizeableFlag indicating whether the column may be resized by the user.
Public fieldfVisibleByDefaultFlag indicating whether this column is visible by default.
Public fieldiDefaultSortPrioritySpecifies if a column is sorted by default.
Public fieldiFieldThe field index designated by the task provider.
Public fieldiImageIndex into the provider's image list.
Top

These values are returned from GetColumn.

COM Signature

From vsshell80.idl:

typedef struct _VSTASKCOLUMN
{
    int     iField;
    BSTR    bstrHeading;
    int     iImage;
    BOOL    fShowSortArrow;
    BOOL    fAllowUserSort;
    BOOL    fVisibleByDefault;
    BOOL    fAllowHide;
    BOOL    fSizeable;
    BOOL    fMoveable;
    int     iDefaultSortPriority;
    BOOL    fDescendingSort;
    int     cxMinWidth;
    int     cxDefaultWidth;
    BOOL    fDynamicSize;
    BSTR    bstrCanonicalName;
    BSTR    bstrLocalizedName;
    BSTR    bstrTip;
    BOOL    fFitContent;
} VSTASKCOLUMN;

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft