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)

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