Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
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
- 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.
See Also
Reference
IVsFontAndColorDefaults Interface