Aspose::Words::Markup::CustomXmlSchemaCollection Class Reference

Detailed Description

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.

See also
Aspose::Words::Markup::CustomXmlPart, Aspose::Words::Markup::CustomXmlPart::get_Schemas

#include <Aspose.Words.Cpp/Model/Markup/CustomXmlSchemaCollection.h>

+ Inheritance diagram for Aspose::Words::Markup::CustomXmlSchemaCollection:

Public Member Functions

void Add (String value)
 Adds an item to the collection. More...
 
void Clear ()
 Removes all elements from the collection. More...
 
SharedPtr< CustomXmlSchemaCollectionClone ()
 Makes a deep clone of this object. More...
 
int32_t get_Count ()
 Gets the number of elements contained in the collection. More...
 
SharedPtr< IEnumerator< String > > GetEnumerator ()
 Returns an enumerator object that can be used to iterate over all items in the collection. More...
 
String idx_get (int32_t index)
 Gets or sets the element at the specified index. More...
 
void idx_set (int32_t index, String value)
 Gets or sets the element at the specified index. More...
 
int32_t IndexOf (String value)
 Returns the zero-based index of the specified value in the collection. More...
 
void Remove (String name)
 Removes the specified value from the collection. More...
 
void RemoveAt (int32_t index)
 Removes a value at the specified index. More...
 
- Public Member Functions inherited from System::Collections::Generic::IEnumerable< System::String >
EnumeratorBasedIterator< T, IEnumerator< T > > begin () noexcept
 
EnumeratorBasedIterator< T, IEnumerator< T > > cbegin () noexcept
 
EnumeratorBasedIterator< T, IEnumerator< T > > cend () noexcept
 
EnumeratorBasedIterator< T, IEnumerator< T > > end () noexcept
 
bool LINQ_All (std::function< bool(T)> predicate)
 
bool LINQ_Any ()
 
bool LINQ_Any (std::function< bool(T)> predicate)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Cast ()
 
SharedPtr< IEnumerable< Result > > LINQ_Cast ()
 
bool LINQ_Contains (T value)
 
int LINQ_Count ()
 
LINQ_ElementAt (int index)
 
LINQ_First ()
 
LINQ_FirstOrDefault ()
 
LINQ_FirstOrDefault (std::function< bool(T)> predicate)
 
LINQ_Last ()
 
LINQ_LastOrDefault ()
 
SharedPtr< IEnumerable< ResultType > > LINQ_OfType ()
 
SharedPtr< IEnumerable< Result > > LINQ_OfType ()
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, Result > &selector)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< T, ResultType > &selector)
 
ArrayPtr< T > LINQ_ToArray ()
 
SharedPtr< List< T > > LINQ_ToList ()
 
SharedPtr< IEnumerable< T > > LINQ_Where (std::function< bool(T)> predicate)
 
- Public Member Functions inherited from Object
ASPOSECPP_SHARED_API Object ()
 
ASPOSECPP_SHARED_API Object (Object const &x)
 
virtual ASPOSECPP_SHARED_API ~Object ()
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 
Detail::SmartPtrCounter * GetCounter ()
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 
ASPOSECPP_SHARED_API void Lock ()
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 
Objectoperator= (Object const &x)
 
bool ReferenceEquals (String const &str, std::nullptr_t)
 
bool ReferenceEquals (String const &str1, String const &str2)
 
int RemovedSharedRefs (int count)
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 
int SharedCount () const
 
ObjectSharedRefAdded ()
 
int SharedRefRemovedSafe ()
 
virtual ASPOSECPP_SHARED_API String ToString () const
 
ASPOSECPP_SHARED_API void Unlock ()
 
Detail::SmartPtrCounter * WeakRefAdded ()
 
void WeakRefRemoved ()
 

Additional Inherited Members

- Public Types inherited from System::Collections::Generic::IEnumerable< System::String >
typedef IEnumerator< T > IEnumeratorType
 
typedef T ValueType
 
- Public Types inherited from Object
typedef SmartPtr< Objectptr
 
typedef System::Details::SharedMembersType shared_members_type
 
- Static Public Member Functions inherited from Object
bool Equals (double const &objA, double const &objB)
 
bool Equals (float const &objA, float const &objB)
 
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 
static const TypeInfoType ()
 

Member Function Documentation

◆ Add()

void Aspose::Words::Markup::CustomXmlSchemaCollection::Add ( System::String  value)

Adds an item to the collection.

Parameters
valueThe item to add.

◆ Clear()

void Aspose::Words::Markup::CustomXmlSchemaCollection::Clear ( )

Removes all elements from the collection.

◆ Clone()

System::SharedPtr<Aspose::Words::Markup::CustomXmlSchemaCollection> Aspose::Words::Markup::CustomXmlSchemaCollection::Clone ( )

Makes a deep clone of this object.

◆ get_Count()

int32_t Aspose::Words::Markup::CustomXmlSchemaCollection::get_Count ( )

Gets the number of elements contained in the collection.

◆ GetEnumerator()

System::SharedPtr<System::Collections::Generic::IEnumerator<System::String> > Aspose::Words::Markup::CustomXmlSchemaCollection::GetEnumerator ( )
virtual

Returns an enumerator object that can be used to iterate over all items in the collection.

Implements System::Collections::Generic::IEnumerable< System::String >.

◆ idx_get()

System::String Aspose::Words::Markup::CustomXmlSchemaCollection::idx_get ( int32_t  index)

Gets or sets the element at the specified index.

◆ idx_set()

void Aspose::Words::Markup::CustomXmlSchemaCollection::idx_set ( int32_t  index,
System::String  value 
)

Gets or sets the element at the specified index.

◆ IndexOf()

int32_t Aspose::Words::Markup::CustomXmlSchemaCollection::IndexOf ( System::String  value)

Returns the zero-based index of the specified value in the collection.

Parameters
valueThe case-sensitive value to locate.
Returns
The zero based index. Negative value if not found.

◆ Remove()

void Aspose::Words::Markup::CustomXmlSchemaCollection::Remove ( System::String  name)

Removes the specified value from the collection.

Parameters
nameThe case-sensitive value to remove.

◆ RemoveAt()

void Aspose::Words::Markup::CustomXmlSchemaCollection::RemoveAt ( int32_t  index)

Removes a value at the specified index.

Parameters
indexThe zero based index.