IVsColorableItem.GetDefaultFontFlags Method
Returns the default font flags for the custom colorable item.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaração
Function GetDefaultFontFlags ( _
<OutAttribute> ByRef pdwFontFlags As UInteger _
) As Integer
int GetDefaultFontFlags(
out uint pdwFontFlags
)
int GetDefaultFontFlags(
[OutAttribute] unsigned int% pdwFontFlags
)
abstract GetDefaultFontFlags :
pdwFontFlags:uint32 byref -> int
function GetDefaultFontFlags(
pdwFontFlags : uint
) : int
Parameters
- pdwFontFlags
Type: System.UInt32%
[out] Font flags for the custom colorable item (that is, bold, plain text, and so on). For more information, see FONTFLAGS.
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 textmgr.idl:
HRESULT IVsColorableItem::GetDefaultFontFlags(
[out] DWORD *pdwFontFlags
);
The font flags are from the FONTFLAGS enumeration.
.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.