次の方法で共有


Field.EnforceUniqueValues プロパティ

Gets or sets a Boolean value that specifies whether to enforce uniqueness in column values. The default is false.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Property EnforceUniqueValues As Boolean
    Get
    Set
'使用
Dim instance As Field
Dim value As Boolean

value = instance.EnforceUniqueValues

instance.EnforceUniqueValues = value
public bool EnforceUniqueValues { get; set; }

プロパティ値

型: System.Boolean
Returns Boolean.

注釈

When you set this property to true, you should also set the Indexed property to true.

The equivalent XML attribute for the Field element in a field definition is AllowDuplicateValues.

関連項目

参照先

Field クラス

Field メンバー

Microsoft.SharePoint.Client 名前空間