次の方法で共有


Field.Required プロパティ

Gets or sets a value that specifies whether the field requires a value.

名前空間:  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 Required As Boolean
    Get
    Set
'使用
Dim instance As Field
Dim value As Boolean

value = instance.Required

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

プロパティ値

型: System.Boolean
Returns Booleantrue if the field requires a value; otherwise, returns false.

例外

例外 条件
[System.NotSupportedException]

Value is set to true, and the list is an external list. Error code: -1.

注釈

If the field requires a value, this value must be set to true. Otherwise, it must be set to false.

関連項目

参照先

Field クラス

Field メンバー

Microsoft.SharePoint.Client 名前空間