SPUtility.IsBuiltInFieldDisallowingUniqueness method
會傳回指示欄位是否為其中一個特殊系統欄位不允許EnforceUniqueValues屬性設定為falseBoolean值。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function IsBuiltInFieldDisallowingUniqueness ( _
fieldId As Guid _
) As Boolean
'用途
Dim fieldId As Guid
Dim returnValue As Boolean
returnValue = SPUtility.IsBuiltInFieldDisallowingUniqueness(fieldId)
public static bool IsBuiltInFieldDisallowingUniqueness(
Guid fieldId
)
參數
fieldId
Type: System.Guid此欄位的Id屬性的值。
傳回值
Type: System.Boolean
true如果欄位不允許強制唯一值。