Sdílet prostřednictvím


IVsColorableItem.GetDefaultFontFlags(UInt32) Method

Definition

Returns the default font flags for the custom colorable item.

public:
 int GetDefaultFontFlags([Runtime::InteropServices::Out] System::UInt32 % pdwFontFlags);
int GetDefaultFontFlags([Runtime::InteropServices::Out] unsigned int & pdwFontFlags);
public int GetDefaultFontFlags (out uint pdwFontFlags);
abstract member GetDefaultFontFlags : uint32 -> int
Public Function GetDefaultFontFlags (ByRef pdwFontFlags As UInteger) As Integer

Parameters

pdwFontFlags
UInt32

[out] Font flags for the custom colorable item (that is, bold, plain text, and so on). For more information, see FONTFLAGS.

Returns

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.

Applies to