Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: System.UInt32%[out] Reference to a __FONTCOLORFLAGS enumeration containing the font color flags.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.