ISProviders.Item

Description

Each of the providers within the collection.

Syntax

object.Item(Index)

Part Attribute Type Description
object Required
The object always implements the ISProviders interface
Index In, Required
int
The index of the provider
Restriction: This property is readonly.

Return Value

ISProvider

Example

Display each of the providers within the collection.

Dim aFilter 
Dim aProviders
Dim aProvider
Dim aMessage

Set aFilter = Profile.CreateProvidersFilter

aFilter.Category = 2 'pcProvider  

set aProviders = Profile.LoadProvidersByFilter(aFilter)
aMessage = aMessage & vbNewLine &_
  "The number of the providers with the category '" & aFilter.Category & "' is " &_
  aProviders.Count

for each aProvider in aProviders 
  aMessage = aMessage & vbNewLine &_
    "The provider's full name is " & aProvider.FullName
next

Profile.MsgBox (aMessage)  
Note:

In Profile Client v8 on User Interface Providers can be found in Organisation > People & Places.

Version information

Added in v7.8.0