Get the mapping for a particular collection role

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

Syntax

Visual Basic (Declaration)
Public Function GetCollectionMapping ( _
	role As String _
) As Collection
C#
public Collection GetCollectionMapping(
	string role
)
Visual C++
public:
Collection^ GetCollectionMapping(
	String^ role
)
JavaScript
function getCollectionMapping(role);

Parameters

role
Type: System..::.String
a collection role

Return Value

Collection

See Also