SPProviderHierarchyElement.AddEntities Method
Adds a collection of picker entities to the hierarchy element. These additions will be found in the EntityData property.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub AddEntities ( _
entities As IEnumerable(Of PickerEntity) _
)
'Usage
Dim instance As SPProviderHierarchyElement
Dim entities As IEnumerable(Of PickerEntity)
instance.AddEntities(entities)
public void AddEntities(
IEnumerable<PickerEntity> entities
)
Parameters
entities
Type: System.Collections.Generic.IEnumerable<PickerEntity>The picker entities to add.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | entities is a null reference (Nothing in Visual Basic). |
Remarks
A picker entity is a collection of data about a selectable item. A picker entity can represent a group, a single individual, or more abstract concepts in some cases.
See Also
Reference
SPProviderHierarchyElement Class