共用方式為


AllColorableItemInfo Struct

Definition

Use to specify all the attributes of Display Items to the Visual Studio environment.

public value class AllColorableItemInfo
struct AllColorableItemInfo
public struct AllColorableItemInfo
type AllColorableItemInfo = struct
Public Structure AllColorableItemInfo
Inheritance
AllColorableItemInfo

Remarks

Stored information returned in a AllColorableItemInfo structure may beinvalid because the IDE (integrated development environment) does not always store settings unmodified by an end-user's use of the Font and Color property page in the registry.

An instance of the AllColorableItemInfo structure can contain any of the color representations enumerated in __VSCOLORTYPE.

Use the member methods of the IVsFontAndColorUtilities class to examine and manipulate color and font information in an instance of AllColorableItemInfo.

Fields

bAutoBackgroundValid

Indicates whether crAutoBackground contains a valid color value.

bAutoForegroundValid

Indicates whether crAutoForeground contains a valid color value.

bDescriptionValid

Indicates the bstrDescription contains a valid description string

bFlagsValid

Indicates whether fFlags contains valid font flags from __FCITEMFLAGS.

bLineStyleValid

Indicates whether eLineStyle contains a valid line style.

bLocalizedNameValid

Indicates whether bstrLocalizedName contains a valid localized name string.

bMarkerVisualStyleValid

Indicates whether dwMarkerVisualStyle contains a valid marker style.

bNameValid

Indicates whether bstrName contains a valid (non-localized) name string.

bstrDescription

String that contains a brief description of the item displayed as a ToolTip. (This feature is currently disabled).

bstrLocalizedName

String that contains the localized name of the item displayed to the user.

bstrName

String that contains the non-localized name of the item used internally by the VSPackage to compare and merge.

crAutoBackground

Specifies the automatic background color for an item.

crAutoForeground

Specifies the automatic foreground color for an item.

dwMarkerVisualStyle

Specifies the visual style of the marker

eLineStyle

Specifies the line style for marker items.

fFlags

Specifies attributes of an item.

Info

Specifies the foreground color, background color, and font flags from the ColorableItemInfo structure.

Applies to