IVsFontAndColorUtilities::CopyItemInfo Method (array<AllColorableItemInfo>^, array<AllColorableItemInfo>^)
Visual Studio 2015
Copies information contained in one AllColorableItemInfo object to another AllColorableItemInfo object.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int CopyItemInfo( array<AllColorableItemInfo>^ pDest, array<AllColorableItemInfo>^ pSource )
Parameters
- pDest
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::AllColorableItemInfo>^
[in] A valid, initialized AllColorableItemInfo object into which data from pSource, will be copied.
- pSource
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::AllColorableItemInfo>^
[in,out] The AllColorableItemInfo 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.
An AllColorableItemInfo object is used to store the attributes of a Font and Color Display Item.
You must ensure that the AllColorableItemInfo object pDest is valid, which can be done by initializing it using InitItemInfo.
Show: