Freigeben über


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)

Syntax

'Declaration
Public Structure VSTASKCOLUMN
public struct VSTASKCOLUMN
public value class VSTASKCOLUMN
[<Sealed>]
type VSTASKCOLUMN =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VSTASKCOLUMN type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field bstrCanonicalName String containing the non-localized name of the column header. It must be unique within this provider's column list.
Public field bstrHeading String containing the text in header. bstrHeading may be nulla null reference (Nothing in Visual Basic) to indicate an image.
Public field bstrLocalizedName String containing the localized name for the column header.
Public field bstrTip String containing the tooltip for the column header.
Public field cxDefaultWidth The default column width in pixels.
Public field cxMinWidth The minimum column width in pixels.
Public field fAllowHide Flag indicating whether the user is allowed to change the column's visibility.
Public field fAllowUserSort Flag indicating whether the user is allowed to sort by clicking on the column's header.
Public field fDescendingSort Flag indicating the column is sorted in descending order (default is ascending).
Public field fDynamicSize Flag indicating whether the task list is allowed to resize the column automatically to make content fit better.
Public field fFitContent Column will be automatically resized to fit whenever its content changes.
Public field fMoveable Flag indicating whether the column may be dragged to another position by the user.
Public field fShowSortArrow Flag indicating whether a sort arrow is shown in the header when the list is sorted by this column.
Public field fSizeable Flag indicating whether the column may be resized by the user.
Public field fVisibleByDefault Flag indicating whether this column is visible by default.
Public field iDefaultSortPriority Specifies if a column is sorted by default.
Public field iField The field index designated by the task provider.
Public field iImage Index into the provider's image list.

Top

Remarks

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;

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace