Share via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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