Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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
Microsoft.SharePoint Namespace
Other Resources
Using Content Types to Specify XML Document Properties