Delen via


ColorableItem.GetDefaultFontFlags Method

Returns the font attributes for this colorable item.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)

Syntax

'Declaration
Public Overridable Function GetDefaultFontFlags ( _
    <OutAttribute> ByRef fontFlags As UInteger _
) As Integer
public virtual int GetDefaultFontFlags(
    out uint fontFlags
)
public:
virtual int GetDefaultFontFlags(
    [OutAttribute] unsigned int% fontFlags
)
abstract GetDefaultFontFlags : 
        fontFlags:uint32 byref -> int  
override GetDefaultFontFlags : 
        fontFlags:uint32 byref -> int
public function GetDefaultFontFlags(
    fontFlags : uint
) : int

Parameters

  • fontFlags
    Type: UInt32%

    [out] The set of flags from the FONTFLAGS enumeration.

Return Value

Type: Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsColorableItem.GetDefaultFontFlags(UInt32%)

Remarks

The flags returned are those passed to the constructor.

The base method always returns S_OK.

.NET Framework Security

See Also

Reference

ColorableItem Class

Microsoft.VisualStudio.Package Namespace