Aspose::Words::Markup::StructuredDocumentTagCollection Class Reference

Detailed Description

A collection of IStructuredDocumentTag instances that represent the structured document tags in the specified range.

#include <Aspose.Words.Cpp/Markup/StructuredDocumentTagCollection.h>

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

Public Member Functions

int32_t get_Count ()
 Returns the number of structured document tags in the collection. More...
 
SharedPtr< IStructuredDocumentTagGetById (int32_t id)
 Returns the structured document tag by identifier. More...
 
SharedPtr< IStructuredDocumentTagGetByTag (const String &tag)
 Returns the first structured document tag encountered in the collection with the specified tag. More...
 
SharedPtr< IStructuredDocumentTagGetByTitle (const String &title)
 Returns the first structured document tag encountered in the collection with the specified title. More...
 
SharedPtr< IEnumerator< SharedPtr< IStructuredDocumentTag > > > GetEnumerator () override
 Returns an enumerator object. More...
 
virtual const TypeInfoGetType () const override
 
SharedPtr< IStructuredDocumentTagidx_get (int32_t index)
 Returns the structured document tag at the specified index. More...
 
virtual bool Is (const TypeInfo &target) const override
 
void Remove (int32_t id)
 Removes the structured document tag with the specified identifier. More...
 
void RemoveAt (int32_t index)
 Removes a structured document tag at the specified index. More...
 

Static Public Member Functions

static const TypeInfoType ()
 

Member Function Documentation

◆ get_Count()

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

Returns the number of structured document tags in the collection.

◆ GetById()

System::SharedPtr<Aspose::Words::Markup::IStructuredDocumentTag> Aspose::Words::Markup::StructuredDocumentTagCollection::GetById ( int32_t  id)

Returns the structured document tag by identifier.

Returns null if the structured document tag with the specified identifier cannot be found.

Parameters
idThe structured document tag identifier.

◆ GetByTag()

System::SharedPtr<Aspose::Words::Markup::IStructuredDocumentTag> Aspose::Words::Markup::StructuredDocumentTagCollection::GetByTag ( const System::String tag)

Returns the first structured document tag encountered in the collection with the specified tag.

Returns null if the structured document tag with the specified tag cannot be found.

Parameters
tagThe tag of the structured document tag.

◆ GetByTitle()

System::SharedPtr<Aspose::Words::Markup::IStructuredDocumentTag> Aspose::Words::Markup::StructuredDocumentTagCollection::GetByTitle ( const System::String title)

Returns the first structured document tag encountered in the collection with the specified title.

Returns null if the structured document tag with the specified title cannot be found.

Parameters
titleThe title of structured document tag.

◆ GetEnumerator()

System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<Aspose::Words::Markup::IStructuredDocumentTag> > > Aspose::Words::Markup::StructuredDocumentTagCollection::GetEnumerator ( )
override

Returns an enumerator object.

◆ GetType()

virtual const System::TypeInfo& Aspose::Words::Markup::StructuredDocumentTagCollection::GetType ( ) const
overridevirtual

Reimplemented from System::Object.

◆ idx_get()

System::SharedPtr<Aspose::Words::Markup::IStructuredDocumentTag> Aspose::Words::Markup::StructuredDocumentTagCollection::idx_get ( int32_t  index)

Returns the structured document tag at the specified index.

Parameters
indexAn index into the collection.

◆ Is()

virtual bool Aspose::Words::Markup::StructuredDocumentTagCollection::Is ( const System::TypeInfo target) const
overridevirtual

Reimplemented from System::Object.

◆ Remove()

void Aspose::Words::Markup::StructuredDocumentTagCollection::Remove ( int32_t  id)

Removes the structured document tag with the specified identifier.

Parameters
idThe structured document tag identifier.

◆ RemoveAt()

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

Removes a structured document tag at the specified index.

Parameters
indexAn index into the collection.

◆ Type()

static const System::TypeInfo& Aspose::Words::Markup::StructuredDocumentTagCollection::Type ( )
static