Export (0) Print
Expand All
Expand Minimize

SPUtility.IsBuiltInFieldDisallowingUniqueness method

Returns a Boolean value that indicates whether a field is one of the special system fields that are not allowed to have the EnforceUniqueValues property set to false.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static bool IsBuiltInFieldDisallowingUniqueness(
	Guid fieldId
)

Parameters

fieldId
Type: System.Guid

The value of the field’s Id property.

Return value

Type: System.Boolean
true if the field is not allowed to force unique values.
Show:
© 2014 Microsoft