다음을 통해 공유


SPField.RelatedField property

Gets or sets the internal name of a field to which the current field is related.

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

Syntax

'Declaration
Public Property RelatedField As String
    Get
    Set
'Usage
Dim instance As SPField
Dim value As String

value = instance.RelatedField

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

Property value

Type: System.String
A string that contains the name of the field to which the current field is related.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace

Other resources

Custom Related Fields