Partilhar via


ItemPickerExtendedData.PrimaryColumnName Property

Returns or sets the name of the primary column for the selected entity instance.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property PrimaryColumnName As String
    Get
    Set
'Usage
Dim instance As ItemPickerExtendedData
Dim value As String

value = instance.PrimaryColumnName

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

Property Value

Type: System.String
Returns String.

Remarks

The name of the primary column is the name of the field that contains the data that the ItemPicker control uses as a display value. Use this property to return the name of the primary column or to set the name of the primary column to a field name other than the default.

See Also

Reference

ItemPickerExtendedData Class

ItemPickerExtendedData Members

Microsoft.SharePoint.WebControls Namespace