SPUtility.DoesFieldSupportIsRelationship method
Returns a Boolean value that indicates whether a lookup field has relationship features.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function DoesFieldSupportIsRelationship ( _
fldLookup As SPFieldLookup _
) As Boolean
'Usage
Dim fldLookup As SPFieldLookup
Dim returnValue As Boolean
returnValue = SPUtility.DoesFieldSupportIsRelationship(fldLookup)
public static bool DoesFieldSupportIsRelationship(
SPFieldLookup fldLookup
)
Parameters
fldLookup
Type: Microsoft.SharePoint.SPFieldLookupThe lookup field.
Return value
Type: System.Boolean
true if the specified field supports the IsRelationship attribute; otherwise false.