Compartir a través de


IVsFontAndColorDefaults.GetFlags Method

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.

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

Syntax

'Declaration
Function GetFlags ( _
    <OutAttribute> ByRef dwFlags As UInteger _
) As Integer
int GetFlags(
    out uint dwFlags
)
int GetFlags(
    [OutAttribute] unsigned int% dwFlags
)
abstract GetFlags : 
        dwFlags:uint32 byref -> int
function GetFlags(
    dwFlags : uint
) : int

Parameters

  • dwFlags
    Type: UInt32%

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

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsFontAndColorDefaults Interface

Microsoft.VisualStudio.Shell.Interop Namespace