共用方式為


SPField.RelatedField property

取得或設定目前欄位與相關的欄位的內部名稱。

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

Syntax

'宣告
Public Property RelatedField As String
    Get
    Set
'用途
Dim instance As SPField
Dim value As String

value = instance.RelatedField

instance.RelatedField = value
public string RelatedField { get; set; }

Property value

Type: System.String
包含目前欄位與相關的欄位名稱的字串。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace

其他資源

Custom Related Fields