Creates a new CollectionType for a sorted ISet.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function GenericSortedSet ( _ role As String, _ propertyRef As String, _ comparer As Object, _ elementType As Type _ ) As CollectionType |
C# |
---|
public static CollectionType GenericSortedSet( string role, string propertyRef, Object comparer, Type elementType ) |
Visual C++ |
---|
public: static CollectionType^ GenericSortedSet( String^ role, String^ propertyRef, Object^ comparer, Type^ elementType ) |
JavaScript |
---|
NHibernate.Type.TypeFactory.genericSortedSet = function(role, propertyRef, comparer, elementType); |
Parameters
- role
- Type: System..::.String
The role the collection is in.
- propertyRef
- Type: System..::.String
The name of the property in the owner object containing the collection ID, or nullNothingnullptra null reference (Nothing in Visual Basic) if it is the primary key.
- comparer
- Type: System..::.Object
The IComparer<(Of <(T>)>) to use for the set.
- elementType
- Type: System..::.Type
The type of the elements in the set.