SelectionProvider that is shown in the example below.
CS
SelectionProvider
CS
IArchiveProvider interface to create an instance of the SelectionProvider class since IArchiveProvider is the external standard interface that aggregates the extensible and provider properties of all Archive provider class.
Once the provider is instantiated, the next is to manipulate the behavior of the provider with the use of Set methods.
Set methods
All Set methods work in similar ways, the only difference is the number and type of parameters that should be pass into it. Here we look at theSetRestriction method as it is quite related to the current section of the document.
CS
SelectionId such that the related members would all belong to the given ID.
Once the Rows have been selected with the GetRows method exposed in the Provider class, we may retrieve the rows that have been selected. Below is the output returned by the code segment above.