IVsFontAndColorUtilities::CopyFontInfo Method (array<FontInfo>^, array<FontInfo>^)
Visual Studio 2015
Copies font information from one FontInfo object into another.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pDest
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::FontInfo>^
[in,out] A valid, initialized FontInfo object into which data from pSource, will be copied.
- pSource
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::FontInfo>^
[in] The FontInfo object from which data will be copied.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
A FontInfo describes the font configuration of a Font and Color Display Item.
You must ensure that the FontInfo object pDest is valid, which can be done by initializing it using InitFontInfo.
Show: