Version

Owner Property (WebObjectBase)

The primary collection to which this object belongs.
Syntax
'Declaration
 
Protected Property Owner As Object
protected object Owner {get; set;}
Remarks

A KeyedObjectBase can belong to only one KeyedObjectCollectionBase at a time, this is their primary collection. Inheritors subclassing KeyedObjectBase may use this property in exposing their own subclass of KeyedObjectCollectionBase offering additional capabilities.

Customarily, the base class implementations of the OnAddedToCollection and OnRemovedFromCollection methods are responsible for detaching this object from its old collection, and attaching it to its new collection.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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