FieldCollection.AddDependentLookup Method
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function AddDependentLookup ( _
displayName As String, _
primaryLookupField As Field, _
lookupField As String _
) As Field
'Usage
Dim instance As FieldCollection
Dim displayName As String
Dim primaryLookupField As Field
Dim lookupField As String
Dim returnValue As Field
returnValue = instance.AddDependentLookup(displayName, _
primaryLookupField, lookupField)
[RemoteAttribute]
public Field AddDependentLookup(
string displayName,
Field primaryLookupField,
string lookupField
)
Parameters
- displayName
Type: System.String
- primaryLookupField
Type: Microsoft.SharePoint.Client.Field
- lookupField
Type: System.String
Return Value
Type: Microsoft.SharePoint.Client.Field