共用方式為


SPFormContext.CSRDefaultValuesCollection property

取得字典,以寫入欄位預設值,插入的位置依預設值。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property CSRDefaultValuesCollection As Dictionary(Of String, Object)
    Get
'用途
Dim instance As SPFormContext
Dim value As Dictionary(Of String, Object)

value = instance.CSRDefaultValuesCollection
public Dictionary<string, Object> CSRDefaultValuesCollection { get; }

Property value

Type: System.Collections.Generic.Dictionary<String, Object>
字典中。

請參閱

參照

SPFormContext class

SPFormContext members

Microsoft.SharePoint namespace