Compartilhar via


IVsFontAndColorDefaults.GetFlags(UInt32) Method

Definition

Returns a combination of __FONTCOLORFLAGS values. The member of the __FONTCOLORFLAGS enumeration define how the Fonts and Colors properties page in the Options dialog box implements font and color changes.

public:
 int GetFlags([Runtime::InteropServices::Out] System::UInt32 % dwFlags);
int GetFlags([Runtime::InteropServices::Out] unsigned int & dwFlags);
public int GetFlags (out uint dwFlags);
abstract member GetFlags : uint32 -> int
Public Function GetFlags (ByRef dwFlags As UInteger) As Integer

Parameters

dwFlags
UInt32

[out] Reference to a __FONTCOLORFLAGS enumeration containing the font color flags.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsFontAndColorDefaults::GetFlags(  
   [out] FONTCOLORFLAGS *dwFlags  
);  

The dwFlags parameter specifies a bitmap bit-wise OR of members of the __FONTCOLORFLAGS enumeration that indicates how to handle font and color changes.

Applies to