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::Common::Xml::XmlAttributeCollection Class Reference

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

Inheritance diagram for OSGeo::FDO::Common::Xml::XmlAttributeCollection:

[legend]
List of all members.

Detailed Description

The XmlAttributeCollection class represents a collection of XmlAttribute objects.


Public Member Functions

System::Int32 Add (XmlAttribute *value)
 Adds a XmlAttribute object into the collection.
System::Void Clear ()
 Removes all elements from the collection.
System::Boolean Contains (String *name)
 Determines whether the collection contains a specific XmlAttribute object.
System::Boolean Contains (XmlAttribute *value)
 Determines whether the collection contains a specific XmlAttribute object.
System::Void CopyTo (XmlAttribute *array[], System::Int32 index)
 Copies the elements of the collection to an array.
__property System::Int32 get_Count (System::Void)
 Gets the count of items in collection.
__property XmlAttributeget_Item (System::Int32 index)
 Gets an XmlAttribute in the collection.
__property XmlAttributeget_RealTypeItem (System::Int32 index)
 Gets an XmlAttribute in the collection.
__sealed System::Collections::IEnumerator * GetEnumerator (System::Void)
 Gets an enumerator that can iterate through a collection.
System::Int32 IndexOf (String *name)
 Determines the index of a specific XmlAttribute object.
System::Int32 IndexOf (XmlAttribute *value)
 Determines the index of a specific XmlAttribute object.
System::Void Insert (System::Int32 index, XmlAttribute *value)
 Inserts a XmlAttribute object into the collection at the specified position.
System::Void Remove (XmlAttribute *value)
 Removes the first occurrence of a specific XmlAttribute object.
System::Void RemoveAt (System::Int32 index)
 Removes the index-th XmlAttribute from this collection.
__property System::Void set_Item (System::Int32 index, XmlAttribute *value)
 Sets an XmlAttribute in the collection.
__property System::Void set_RealTypeItem (System::Int32 index, XmlAttribute *value)
 Sets an XmlAttribute in the collection.
 XmlAttributeCollection (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a collection based on an unmanaged instance of the object.
 XmlAttributeCollection ()
 Constructs a new empty attribute collection

Protected Member Functions

virtual System::Void ReleaseUnmanagedObject ()

Constructor & Destructor Documentation

OSGeo::FDO::Common::Xml::XmlAttributeCollection::XmlAttributeCollection  ) 
 

Constructs a new empty attribute collection

OSGeo::FDO::Common::Xml::XmlAttributeCollection::XmlAttributeCollection System::IntPtr  unmanaged,
System::Boolean  autoDelete
 

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

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

Member Function Documentation

System::Int32 OSGeo::FDO::Common::Xml::XmlAttributeCollection::Add XmlAttribute value  ) 
 

Adds a XmlAttribute object into the collection.

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

System::Void OSGeo::FDO::Common::Xml::XmlAttributeCollection::Clear  ) 
 

Removes all elements from the collection.

System::Boolean OSGeo::FDO::Common::Xml::XmlAttributeCollection::Contains String *  name  ) 
 

Determines whether the collection contains a specific XmlAttribute object.

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

System::Boolean OSGeo::FDO::Common::Xml::XmlAttributeCollection::Contains XmlAttribute value  ) 
 

Determines whether the collection contains a specific XmlAttribute object.

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

System::Void OSGeo::FDO::Common::Xml::XmlAttributeCollection::CopyTo XmlAttribute 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::Common::Xml::XmlAttributeCollection::get_Count System::Void   ) 
 

Gets the count of items in collection.

Returns:
Returns the number of items in the collection.

__property XmlAttribute* OSGeo::FDO::Common::Xml::XmlAttributeCollection::get_Item System::Int32  index  ) 
 

Gets an XmlAttribute in the collection.

Parameters:
index Input index of the XmlAttribute to retrieve.
Returns:
An XmlAttribute found in the collection

__property XmlAttribute* OSGeo::FDO::Common::Xml::XmlAttributeCollection::get_RealTypeItem System::Int32  index  ) 
 

Gets an XmlAttribute in the collection.

Parameters:
index Input index of the XmlAttribute to retrieve.
Returns:
An XmlAttribute found in the collection

__sealed System::Collections::IEnumerator* OSGeo::FDO::Common::Xml::XmlAttributeCollection::GetEnumerator System::Void   ) 
 

Gets an enumerator that can iterate through a collection.

Returns:
Returns an enumerator on the collection.

System::Int32 OSGeo::FDO::Common::Xml::XmlAttributeCollection::IndexOf String *  name  ) 
 

Determines the index of a specific XmlAttribute object.

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

System::Int32 OSGeo::FDO::Common::Xml::XmlAttributeCollection::IndexOf XmlAttribute value  ) 
 

Determines the index of a specific XmlAttribute object.

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

System::Void OSGeo::FDO::Common::Xml::XmlAttributeCollection::Insert System::Int32  index,
XmlAttribute value
 

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

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

virtual System::Void OSGeo::FDO::Common::Xml::XmlAttributeCollection::ReleaseUnmanagedObject  )  [protected, virtual]
 

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

System::Void OSGeo::FDO::Common::Xml::XmlAttributeCollection::Remove XmlAttribute value  ) 
 

Removes the first occurrence of a specific XmlAttribute object.

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

System::Void OSGeo::FDO::Common::Xml::XmlAttributeCollection::RemoveAt System::Int32  index  ) 
 

Removes the index-th XmlAttribute from this collection.

Parameters:
index Input index of the element to remove.

__property System::Void OSGeo::FDO::Common::Xml::XmlAttributeCollection::set_Item System::Int32  index,
XmlAttribute value
 

Sets an XmlAttribute in the collection.

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

__property System::Void OSGeo::FDO::Common::Xml::XmlAttributeCollection::set_RealTypeItem System::Int32  index,
XmlAttribute value
 

Sets an XmlAttribute in the collection.

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

Comments or suggestions? Send us feedback.