SPFieldLink.Required property
取得或設定一個值,指出是否已參照欄都必須具備一個值。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property Required As Boolean
Get
Set
'用途
Dim instance As SPFieldLink
Dim value As Boolean
value = instance.Required
instance.Required = value
public bool Required { get; set; }
Property value
Type: System.Boolean
true所參照的欄都必須具備值 ; 如果否則,請false。
備註
此屬性的起始值是做為引數傳遞給建構函式SPField物件的對應Required屬性的值相同。
請參閱
參照
Microsoft.SharePoint namespace