Xceed Toolkit Plus for WPF v4.6 Documentation
GetPrimaryKeyInfo Method (DataSourceProvider)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Data Namespace > DataSourceProvider Class : GetPrimaryKeyInfo Method
Retrieves information about the data source's primary key(s).
Syntax
'Declaration
 
Protected MustOverride Function GetPrimaryKeyInfo() As IEnumerable(Of SortDescription)
'Usage
 
Dim instance As DataSourceProvider
Dim value As IEnumerable(Of SortDescription)
 
value = instance.GetPrimaryKeyInfo()
protected abstract IEnumerable<SortDescription> GetPrimaryKeyInfo()

Return Value

A generic IEnumerable of SortDescription objects containing information about the data source's primary key(s).
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataSourceProvider Class
DataSourceProvider Members