Share via


IVsFontAndColorUtilities.InitFontInfo Method

Initializes a FontInfo object to a default state.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function InitFontInfo ( _
    <OutAttribute> pInfo As FontInfo() _
) As Integer
int InitFontInfo(
    FontInfo[] pInfo
)
int InitFontInfo(
    [InAttribute] [OutAttribute] array<FontInfo>^ pInfo
)
abstract InitFontInfo : 
        pInfo:FontInfo[] byref -> int
function InitFontInfo(
    pInfo : FontInfo[]
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsFontAndColorUtilities Interface

Microsoft.VisualStudio.Shell.Interop Namespace

Other Resources

Fonts