Adds a Property that is implemented by a subclass.

Namespace:  NHibernate.Mapping
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Overrides Sub AddSubclassProperty ( _
	p As Property _
)
C#
public override void AddSubclassProperty(
	Property p
)
Visual C++
public:
virtual void AddSubclassProperty(
	Property^ p
) override
JavaScript
function addSubclassProperty(p);

Parameters

p
Type: NHibernate.Mapping..::.Property
The Property implemented by a subclass.

Remarks

This also adds the Property to the Superclass' collection of Subclass Properties.

See Also