다음을 통해 공유


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

‘선언
Function GetFlags ( _
    <OutAttribute> ByRef dwFlags As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsFontAndColorDefaults
Dim dwFlags As UInteger
Dim returnValue As Integer

returnValue = instance.GetFlags(dwFlags)
int GetFlags(
    out uint dwFlags
)
int GetFlags(
    [OutAttribute] unsigned int% dwFlags
)
abstract GetFlags : 
        dwFlags:uint32 byref -> int 
function GetFlags(
    dwFlags : uint
) : int

Parameters

Return Value

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

IVsFontAndColorDefaults Members

Microsoft.VisualStudio.Shell.Interop Namespace