A collection of IStructuredDocumentTag instances that represent the structured document tags in the specified range.
#include <Aspose.Words.Cpp/Markup/StructuredDocumentTagCollection.h>
Public Member Functions | |
int32_t | get_Count () |
Returns the number of structured document tags in the collection. More... | |
SharedPtr< IStructuredDocumentTag > | GetById (int32_t id) |
Returns the structured document tag by identifier. More... | |
SharedPtr< IStructuredDocumentTag > | GetByTag (const String &tag) |
Returns the first structured document tag encountered in the collection with the specified tag. More... | |
SharedPtr< IStructuredDocumentTag > | GetByTitle (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 TypeInfo & | GetType () const override |
SharedPtr< IStructuredDocumentTag > | idx_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 TypeInfo & | Type () |
int32_t Aspose::Words::Markup::StructuredDocumentTagCollection::get_Count | ( | ) |
Returns the number of structured document tags in the collection.
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.
id | The structured document tag identifier. |
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.
tag | The tag of the structured document tag. |
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.
title | The title of structured document tag. |
|
override |
Returns an enumerator object.
|
overridevirtual |
Reimplemented from System::Object.
System::SharedPtr<Aspose::Words::Markup::IStructuredDocumentTag> Aspose::Words::Markup::StructuredDocumentTagCollection::idx_get | ( | int32_t | index | ) |
Returns the structured document tag at the specified index.
index | An index into the collection. |
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::Markup::StructuredDocumentTagCollection::Remove | ( | int32_t | id | ) |
Removes the structured document tag with the specified identifier.
id | The structured document tag identifier. |
void Aspose::Words::Markup::StructuredDocumentTagCollection::RemoveAt | ( | int32_t | index | ) |
Removes a structured document tag at the specified index.
index | An index into the collection. |
|
static |