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::Schema::ReadOnlyDataPropertyDefinitionCollection Class Reference

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

Inheritance diagram for OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection:

[legend]
List of all members.

Detailed Description

The ReadOnlyDataPropertyDefinitionCollection class represents a collection of DataPropertyDefinition objects.


Public Member Functions

System::Boolean Contains (OSGeo::FDO::Schema::DataPropertyDefinition *value)
 Determines whether the collection contains a specific DataPropertyDefinition object.
System::Void CopyTo (OSGeo::FDO::Schema::DataPropertyDefinition *array[], System::Int32 startAt)
 Copies the elements of the collection to an array.
__property System::Int32 get_Count (System::Void)
 Gets the count of items in collection.
__property OSGeo::FDO::Schema::DataPropertyDefinitionget_RealTypeItem (System::String *name)
 Gets the DataPropertyDefinition item in the collection at the specified index.
__property OSGeo::FDO::Schema::DataPropertyDefinitionget_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 (OSGeo::FDO::Schema::DataPropertyDefinition *value)
 Determines the index of a specific DataPropertyDefinition object.
 ReadOnlyDataPropertyDefinitionCollection (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a ReadOnlyDataPropertyDefinitionCollection object based on an unmanaged instance of the object.
 ReadOnlyDataPropertyDefinitionCollection (OSGeo::FDO::Schema::DataPropertyDefinitionCollection *parent)
 Constructs a ReadOnlyDataPropertyDefinitionCollection object

Protected Member Functions

System::Void ReleaseUnmanagedObject ()

Constructor & Destructor Documentation

OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection::ReadOnlyDataPropertyDefinitionCollection OSGeo::FDO::Schema::DataPropertyDefinitionCollection parent  ) 
 

Constructs a ReadOnlyDataPropertyDefinitionCollection object

Parameters:
parent Input A Pointer to the parent schema object of the collection

OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection::ReadOnlyDataPropertyDefinitionCollection System::IntPtr  unmanaged,
System::Boolean  autoDelete
[inline]
 

Constructs a ReadOnlyDataPropertyDefinitionCollection object based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

Member Function Documentation

System::Boolean OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection::Contains OSGeo::FDO::Schema::DataPropertyDefinition value  ) 
 

Determines whether the collection contains a specific DataPropertyDefinition object.

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

System::Void OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection::CopyTo OSGeo::FDO::Schema::DataPropertyDefinition 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::Schema::ReadOnlyDataPropertyDefinitionCollection::get_Count System::Void   ) 
 

Gets the count of items in collection.

Returns:
Returns the number of items in the collection.

__property OSGeo ::FDO ::Schema ::DataPropertyDefinition* OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection::get_RealTypeItem System::String *  name  ) 
 

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

Parameters:
name The name of the DataPropertyDefinition item in the collection.
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.

__property OSGeo ::FDO ::Schema ::DataPropertyDefinition* OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection::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::Schema::ReadOnlyDataPropertyDefinitionCollection::GetEnumerator System::Void   ) 
 

Gets an enumerator that can iterate through a collection.

Returns:
Returns an enumerator on the dictionary.

System::Int32 OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection::IndexOf OSGeo::FDO::Schema::DataPropertyDefinition value  ) 
 

Determines the index of a specific DataPropertyDefinition object.

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

System::Void OSGeo::FDO::Schema::ReadOnlyDataPropertyDefinitionCollection::ReleaseUnmanagedObject  )  [protected, virtual]
 

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


Comments or suggestions? Send us feedback.