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
pInfo
Type: array<Microsoft.VisualStudio.Shell.Interop.FontInfo[][in,out] The FontInfo object to be initialized.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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
IVsFontAndColorUtilities Interface
Microsoft.VisualStudio.Shell.Interop Namespace