Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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


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.
© 2015 Microsoft