Version

InitializeFrom(UltraListViewItem) Method

Performs a memberwise copy of the specified UltraListViewItem instance to this instance.
Syntax
'Declaration
 
Protected Overloads Sub InitializeFrom( _
   ByVal source As UltraListViewItem _
) 
protected void InitializeFrom( 
   UltraListViewItem source
)

Parameters

source
The UltraListViewItem instance from which this instance is to be initialized.
Remarks

The value of the source instance's Key property is copied to this instance, so if this instance is added to the same Items collection as the source instance, an duplicate key exception will be thrown. This can be prevented by changing the value of the Key property on this instance before adding it to a collection.

The value of the source instance's Index property, and its reference to the Items collection to which it belongs, if any, are not copied to this instance.

The members of the source instance's SubItems collection are not copied to this instance.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also