共用方式為


__FONTCOLORFLAGS Enumeration

The FONTCOLORFLAGS enumeration is used to indicate to the Visual Studio Environment how to handle the changes made through the Fonts and Colors properties page.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration __FONTCOLORFLAGS
'用途
Dim instance As __FONTCOLORFLAGS
[FlagsAttribute]
public enum __FONTCOLORFLAGS
[FlagsAttribute]
public enum class __FONTCOLORFLAGS
[<FlagsAttribute>]
type __FONTCOLORFLAGS
public enum __FONTCOLORFLAGS

Members

Member name Description
FCF_MUSTRESTART Instructs Visual Studio to warn that the IDE must be restarted for changes to take effect.
FCF_ONLYTTFONTS Restricted the Font dropdown box of the Fonts and Colors property page to presenting TrueType fonts.
FCF_SAVEALL If set the Visual Studio environment will save all customizable Display Item attributes if even on has been modified (normally, only attributes that have changed from their defaults are saved).
FCF_ONLYNEWINSTANCES Generates a warning that changes will take effect only for new of the UI component.
FCF_AUTOFONT Instructs the Fonts and Colors page to display an item called Automatic in the Fontdropdown box which corresponds to the current "icon" system font setting in Windows. Automatic will be the default setting for the category.

Remarks

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace