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)

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