SPField.PIAttribute property

Gets or sets the attribute in the document processing instruction (specified by the PITarget property) that is used as the column value for property promotion and demotion in XML documents.

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

Syntax

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

value = instance.PIAttribute

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

Property value

Type: System.String
A string that contains the attribute that is used as the column value.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace