Share via


SPFieldLink.PrimaryPIAttribute Property

Gets or sets the attribute of the primary processing instruction (specified by the PrimaryPITarget property) that is used to promote and demote the document property.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property PrimaryPIAttribute As String
    Get
    Set
'Usage
Dim instance As SPFieldLink
Dim value As String

value = instance.PrimaryPIAttribute

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

Property Value

Type: System.String
A string that contains the attribute name.

Remarks

If you specify a value for this property, you must also specify a value for the PrimaryPITarget property.

See Also

Reference

SPFieldLink Class

SPFieldLink Members

Microsoft.SharePoint Namespace

PrimaryPITarget

Other Resources

Using Content Types to Specify XML Document Properties

XML Parser Processing

FieldRef Element (ContentType)

Fields and Field References