GroupedItemPicker.Comparer Property

Gets or sets an IComparer object that represents a selection that exists in the set of possible items.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property Comparer As IComparer(Of PickerItem)
    Get
    Set
'Usage
Dim instance As GroupedItemPicker
Dim value As IComparer(Of PickerItem)

value = instance.Comparer

instance.Comparer = value
public IComparer<PickerItem> Comparer { get; set; }

Property Value

Type: System.Collections.Generic.IComparer<PickerItem>
An IComparer object that represents a selection in the set of possible items.

Exceptions

Exception Condition
ArgumentNullException

If the IComparer object is a null reference (Nothing in Visual Basic).

See Also

Reference

GroupedItemPicker Class

GroupedItemPicker Members

Microsoft.SharePoint.WebControls Namespace