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::Connections::Capabilities::FunctionDefinitionCollection Class Reference

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

Inheritance diagram for OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection:

[legend]
List of all members.

Detailed Description

FunctionDefinitionCollection is a collection of FunctionDefinition objects.


Public Member Functions

System::Int32 Add (FunctionDefinition *value)
 Adds a FunctionDefinition object into the collection.
System::Void Clear ()
 Removes all elements from the collection.
System::Boolean Contains (System::String *value)
 Determines whether the collection contains a specific FunctionDefinition object.
System::Boolean Contains (FunctionDefinition *value)
 Determines whether the collection contains a specific FunctionDefinition object.
System::Void CopyTo (FunctionDefinition *array[], System::Int32 startAt)
 Copies the elements of the collection to an array.
 FunctionDefinitionCollection ()
 
__property System::Int32 get_Count (System::Void)
 Gets the count of items in collection.
__property FunctionDefinitionget_Item (System::Int32 index)
 Gets an item in the collection.
__property FunctionDefinitionget_RealTypeItem (System::Int32 index)
 Gets the 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 *value)
System::Int32 IndexOf (OSGeo::FDO::Connections::Capabilities::FunctionDefinition *value)
 Determines the index of a specific FunctionDefinition object.
System::Void Insert (System::Int32 index, FunctionDefinition *value)
 Inserts a FunctionDefinition object into the collection at the specified position.
System::Void Remove (FunctionDefinition *value)
 Removes the first occurrence of a specific FunctionDefinition object.
System::Void RemoveAt (System::Int32 index)
 Removes the index-th FunctionDefinition from this collection.
__property System::Void set_Item (System::Int32 index, FunctionDefinition *value)
 Sets the value of the item at the specified index.
__property System::Void set_RealTypeItem (System::Int32 index, FunctionDefinition *value)
 Sets the value of the item at the specified index.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Constructor & Destructor Documentation

OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::FunctionDefinitionCollection  ) 
 


Member Function Documentation

System::Int32 OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::Add FunctionDefinition value  ) 
 

Adds a FunctionDefinition object into the collection.

Parameters:
value Input the FunctionDefinition object to add.
Returns:
Returns the position into which the new element was inserted.

System::Void OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::Clear  ) 
 

Removes all elements from the collection.

System::Boolean OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::Contains System::String *  value  ) 
 

Determines whether the collection contains a specific FunctionDefinition object.

Parameters:
value Input The name of the FunctionDefinition object to search in the collection.
Returns:
Returns true if the value is found in the collection; otherwise, false.

System::Boolean OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::Contains FunctionDefinition value  ) 
 

Determines whether the collection contains a specific FunctionDefinition object.

Parameters:
value Input The FunctionDefinition object to search in the collection.
Returns:
Returns true if the value is found in the collection; otherwise, false.

System::Void OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::CopyTo FunctionDefinition array[],
System::Int32  startAt
 

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.
startAt Input an integer that represents the index in array at which copying begins.

__property System::Int32 OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::get_Count System::Void   ) 
 

Gets the count of items in collection.

Returns:
Returns the number of items in the collection.

__property FunctionDefinition* OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::get_Item System::Int32  index  ) 
 

Gets an item in the collection.

Parameters:
index Input index of the item to retrieve.
Returns:
Returns the item at the specified index

__property FunctionDefinition* OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::get_RealTypeItem System::Int32  index  ) 
 

Gets the item in the collection at the specified index.

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

__sealed System::Collections::IEnumerator* OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::GetEnumerator System::Void   ) 
 

Gets an enumerator that can iterate through a collection.

Returns:
Returns an enumerator on the dictionary.

System::Int32 OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::IndexOf System::String *  value  ) 
 

System::Int32 OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::IndexOf OSGeo::FDO::Connections::Capabilities::FunctionDefinition value  ) 
 

Determines the index of a specific FunctionDefinition object.

Parameters:
value Input the FunctionDefinition object to locate in the collection.
Returns:
The index of value if found in the collection; otherwise, -1.

System::Void OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::Insert System::Int32  index,
FunctionDefinition value
 

Inserts a FunctionDefinition object into the collection at the specified position.

Parameters:
index Input the zero-based index at which value should be inserted.
value Input the FunctionDefinition object to insert.

System::Void OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

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

System::Void OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::Remove FunctionDefinition value  ) 
 

Removes the first occurrence of a specific FunctionDefinition object.

Parameters:
value Input the FunctionDefinition object to remove from the collection.

System::Void OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::RemoveAt System::Int32  index  ) 
 

Removes the index-th FunctionDefinition from this collection.

Parameters:
index Input index of the element to remove.

__property System::Void OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::set_Item System::Int32  index,
FunctionDefinition value
 

Sets the value of the item at the specified index.

Parameters:
index Input index of the item to set.
value Input the value of the item

__property System::Void OSGeo::FDO::Connections::Capabilities::FunctionDefinitionCollection::set_RealTypeItem System::Int32  index,
FunctionDefinition value
 

Sets the value of the item at the specified index.

Parameters:
index Input index of the item to set.
value Input the value of the item

Comments or suggestions? Send us feedback.