IVsFontAndColorUtilities.CopyItemInfo Method
Copies information contained in one AllColorableItemInfo object to another AllColorableItemInfo object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function CopyItemInfo ( _
<OutAttribute> pDest As AllColorableItemInfo(), _
pSource As AllColorableItemInfo() _
) As Integer
int CopyItemInfo(
AllColorableItemInfo[] pDest,
AllColorableItemInfo[] pSource
)
int CopyItemInfo(
[InAttribute] [OutAttribute] array<AllColorableItemInfo>^ pDest,
[InAttribute] array<AllColorableItemInfo>^ pSource
)
abstract CopyItemInfo :
pDest:AllColorableItemInfo[] byref *
pSource:AllColorableItemInfo[] -> int
function CopyItemInfo(
pDest : AllColorableItemInfo[],
pSource : AllColorableItemInfo[]
) : int
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.Int32
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.
.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