A collection of strings that represent XML schemas that are associated with a custom XML part.
You do not create instances of this class. You access the collection of XML schemas of a custom XML part via the Schemas property.
Shows how to work with an XML schema collection.
#include <Aspose.Words.Cpp/Markup/CustomXmlSchemaCollection.h>
Public Types | |
using | const_iterator = typename const_iterator |
using | iterator = typename iterator |
using | iterator_holder_type = List< String > |
using | virtualized_iterator = typename virtualized_iterator |
using | virtualized_iterator_element = typename virtualized_iterator_element |
Public Member Functions | |
void | Add (const String &value) |
Adds an item to the collection. More... | |
const_iterator | begin () const noexcept |
iterator | begin () noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
void | Clear () |
Removes all elements from the collection. More... | |
SharedPtr< CustomXmlSchemaCollection > | Clone () |
Makes a deep clone of this object. More... | |
const_iterator | end () const noexcept |
iterator | end () noexcept |
int32_t | get_Count () |
Gets the number of elements contained in the collection. More... | |
SharedPtr< IEnumerator< String > > | GetEnumerator () override |
Returns an enumerator object that can be used to iterate over all items in the collection. More... | |
virtual const TypeInfo & | GetType () const override |
String | idx_get (int32_t index) |
Gets or sets the element at the specified index. More... | |
void | idx_set (int32_t index, const String &value) |
Gets or sets the element at the specified index. More... | |
int32_t | IndexOf (const String &value) |
Returns the zero-based index of the specified value in the collection. More... | |
virtual bool | Is (const TypeInfo &target) const override |
void | Remove (const String &name) |
Removes the specified value from the collection. More... | |
void | RemoveAt (int32_t index) |
Removes a value at the specified index. More... | |
virtualized_iterator * | virtualizeBeginConstIterator () const override |
virtualized_iterator * | virtualizeBeginIterator () override |
virtualized_iterator * | virtualizeEndConstIterator () const override |
virtualized_iterator * | virtualizeEndIterator () override |
Static Public Member Functions | |
static const TypeInfo & | Type () |
using Aspose::Words::Markup::CustomXmlSchemaCollection::const_iterator = typename iterator_holder_type::const_iterator |
using Aspose::Words::Markup::CustomXmlSchemaCollection::iterator = typename iterator_holder_type::iterator |
using Aspose::Words::Markup::CustomXmlSchemaCollection::iterator_holder_type = System::Collections::Generic::List<System::String> |
using Aspose::Words::Markup::CustomXmlSchemaCollection::virtualized_iterator = typename iterator_holder_type::virtualized_iterator |
using Aspose::Words::Markup::CustomXmlSchemaCollection::virtualized_iterator_element = typename iterator_holder_type::virtualized_iterator_element |
void Aspose::Words::Markup::CustomXmlSchemaCollection::Add | ( | const System::String & | value | ) |
Adds an item to the collection.
value | The item to add. |
Shows how to work with an XML schema collection.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void Aspose::Words::Markup::CustomXmlSchemaCollection::Clear | ( | ) |
Removes all elements from the collection.
Shows how to work with an XML schema collection.
System::SharedPtr<Aspose::Words::Markup::CustomXmlSchemaCollection> Aspose::Words::Markup::CustomXmlSchemaCollection::Clone | ( | ) |
Makes a deep clone of this object.
Shows how to work with an XML schema collection.
|
noexcept |
|
noexcept |
int32_t Aspose::Words::Markup::CustomXmlSchemaCollection::get_Count | ( | ) |
Gets the number of elements contained in the collection.
Shows how to work with an XML schema collection.
|
overridevirtual |
Returns an enumerator object that can be used to iterate over all items in the collection.
Shows how to work with an XML schema collection.
Implements System::Collections::Generic::IEnumerable< class >.
|
overridevirtual |
Reimplemented from System::Object.
System::String Aspose::Words::Markup::CustomXmlSchemaCollection::idx_get | ( | int32_t | index | ) |
Gets or sets the element at the specified index.
Shows how to work with an XML schema collection.
void Aspose::Words::Markup::CustomXmlSchemaCollection::idx_set | ( | int32_t | index, |
const System::String & | value | ||
) |
Gets or sets the element at the specified index.
Shows how to work with an XML schema collection.
int32_t Aspose::Words::Markup::CustomXmlSchemaCollection::IndexOf | ( | const System::String & | value | ) |
Returns the zero-based index of the specified value in the collection.
value | The case-sensitive value to locate. |
Shows how to work with an XML schema collection.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::Markup::CustomXmlSchemaCollection::Remove | ( | const System::String & | name | ) |
Removes the specified value from the collection.
name | The case-sensitive value to remove. |
Shows how to work with an XML schema collection.
void Aspose::Words::Markup::CustomXmlSchemaCollection::RemoveAt | ( | int32_t | index | ) |
Removes a value at the specified index.
index | The zero based index. |
Shows how to work with an XML schema collection.
|
static |
|
overridevirtual |
Reimplemented from System::Collections::Generic::IEnumerable< class >.
|
overridevirtual |
Reimplemented from System::Collections::Generic::IEnumerable< class >.
|
overridevirtual |
Reimplemented from System::Collections::Generic::IEnumerable< class >.
|
overridevirtual |
Reimplemented from System::Collections::Generic::IEnumerable< class >.