Compartilhar via


EntityReferenceCollection Class

Provides lazy access to entity references.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.BusinessData.Administration.EntityReferenceCollection

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class EntityReferenceCollection _
    Implements IEnumerable(Of EntityReference), IEnumerable
'Usage
Dim instance As EntityReferenceCollection
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class EntityReferenceCollection : IEnumerable<EntityReference>, 
    IEnumerable

Remarks

Every time an enumerator is requested, this collection will be refreshed from the metadata store.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EntityReferenceCollection Members

Microsoft.SharePoint.BusinessData.Administration Namespace