Version

SetOwnerData Method (SparseArray)

Sets the owner data on item. Derived class can override GetOwnerData and SetOwnerData to support owner data without having to implement ISparseArrayItem interface on the items.
Syntax
'Declaration
 
Protected Overridable Sub SetOwnerData( _
   ByVal item As Object, _
   ByVal ownerData As Object _
) 
protected virtual void SetOwnerData( 
   object item,
   object ownerData
)

Parameters

item
The item whose owner data should be assigned.
ownerData
The owner data to assign to the item.
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