Share via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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

Return Value

Type: System.Boolean
true if the specified field supports the IsRelationship attribute; otherwise false.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace