SPField.PrimaryPIAttribute Property

Gets or sets an alternate attribute in the document processing instruction, specified by the PrimaryPITarget property, that is used as the column value in property promotion and demotion in XML documents.

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 SPField
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 alternate attribute in the document processing instruction that is used as the column value.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace