FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::ClientServices::ProviderCollection Class Reference

Inherits OSGeo::FDO::Runtime::Disposable.

Inheritance diagram for OSGeo::FDO::ClientServices::ProviderCollection:

[legend]
List of all members.

Detailed Description

Class ProviderCollection is a read-only collection consisting of the FDO Providers that are currently registered. Each collected Provider object describes an installed and registered FDO Feature Provider.


Public Member Functions

System::Boolean Contains (System::String *name)
 Determines if the collection contains the specified item.
System::Void CopyTo (System::String *array[], System::Int32 index)
 Copies the elements of the collection to an array.
__property System::Int32 get_Count (System::Void)
 Gets the number of items in the collection
__property OSGeo::FDO::ClientServices::Providerget_RealTypeItem (System::Int32 index)
 Gets the Provider item in the collection at the specified index.
__sealed System::Collections::IEnumerator * GetEnumerator (System::Void)
 Gets an enumerator that can iterate through a collection.
System::Int32 IndexOf (System::String *name)
 Returns the index of the specified item in the collection.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()

Member Function Documentation

System::Boolean OSGeo::FDO::ClientServices::ProviderCollection::Contains System::String *  name  ) 
 

Determines if the collection contains the specified item.

Parameters:
name The unique name of the feature provider. This name should be of the form [Company].[Provider].[Version].
Returns:
Returns true if the collection contains the specified item, otherwise false. Throws an instance of Exception if an error occurs.

System::Void OSGeo::FDO::ClientServices::ProviderCollection::CopyTo System::String *  array[],
System::Int32  index
 

Copies the elements of the collection to an array.

Parameters:
array Output the one-dimensional Array that is the destination of the elements copied from this collection.
index Input an integer that represents the index in array at which copying begins.

__property System::Int32 OSGeo::FDO::ClientServices::ProviderCollection::get_Count System::Void   ) 
 

Gets the number of items in the collection

Returns:
Returns an int containing the number of items. Throws an instance of Exception if an error occurs.

__property OSGeo ::FDO ::ClientServices ::Provider* OSGeo::FDO::ClientServices::ProviderCollection::get_RealTypeItem System::Int32  index  ) 
 

Gets the Provider item in the collection at the specified index.

Parameters:
index The index of the provider in the collection. The index is 0 based.
Returns:
Returns an instance of a Provider. Throws an instance of Exception if the index is out of range or an error occurs.

__sealed System::Collections::IEnumerator* OSGeo::FDO::ClientServices::ProviderCollection::GetEnumerator System::Void   ) 
 

Gets an enumerator that can iterate through a collection.

Returns:
Returns an enumerator for the collection.

System::Int32 OSGeo::FDO::ClientServices::ProviderCollection::IndexOf System::String *  name  ) 
 

Returns the index of the specified item in the collection.

Parameters:
name The unique name of the feature provider. This name should be of the form [Company].[Provider].[Version].
Returns:
Returns the index item or -1 if the item does not exist. Index is 0 based. Throws an instance of Exception if an error occurs.

System::Void OSGeo::FDO::ClientServices::ProviderCollection::ReleaseUnmanagedObject  )  [protected, virtual]
 

Reimplemented from OSGeo::FDO::Runtime::Disposable.


Comments or suggestions? Send us feedback.