Microsoft.SharePoint


SPFieldLookupValueCollection Class (Microsoft.SharePoint)
Contains the values for an SPFieldLookup object that can contain multiple values.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class SPFieldLookupValueCollection
    Inherits List(Of SPFieldLookupValue)
Visual Basic (Usage)
Dim instance As SPFieldLookupValueCollection
C#
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public class SPFieldLookupValueCollection : List<SPFieldLookupValue>
Inheritance Hierarchy

System.Object
   System.Collections.Generic.List
    Microsoft.SharePoint.SPFieldLookupValueCollection
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

Tags :


Community Content

Paul Turner
Constructor
The constructor for this class takes a string delimited by #; values. So you can take any lookup (as a string) and pass it in and it will allow you to get ID/Value pairs without any string parsing.
Tags :

Page view tracker