IVsFontAndColorUtilities.CopyItemInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies information contained in one AllColorableItemInfo object to another AllColorableItemInfo object.
public:
int CopyItemInfo(cli::array <Microsoft::VisualStudio::Shell::Interop::AllColorableItemInfo> ^ pDest, cli::array <Microsoft::VisualStudio::Shell::Interop::AllColorableItemInfo> ^ pSource);
int CopyItemInfo(std::Array <Microsoft::VisualStudio::Shell::Interop::AllColorableItemInfo> const & pDest, std::Array <Microsoft::VisualStudio::Shell::Interop::AllColorableItemInfo> const & pSource);
public int CopyItemInfo (Microsoft.VisualStudio.Shell.Interop.AllColorableItemInfo[] pDest, Microsoft.VisualStudio.Shell.Interop.AllColorableItemInfo[] pSource);
abstract member CopyItemInfo : Microsoft.VisualStudio.Shell.Interop.AllColorableItemInfo[] * Microsoft.VisualStudio.Shell.Interop.AllColorableItemInfo[] -> int
Public Function CopyItemInfo (pDest As AllColorableItemInfo(), pSource As AllColorableItemInfo()) As Integer
Parameters
- pDest
- AllColorableItemInfo[]
[in] A valid, initialized AllColorableItemInfo object into which data from pSource
, will be copied.
- pSource
- AllColorableItemInfo[]
[in,out] The AllColorableItemInfo object from which data will be copied.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
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.