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
- 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