Provides access to SdtListItem elements of a structured document tag.
Shows how to work with drop down-list structured document tags.
#include <Aspose.Words.Cpp/Markup/SdtListItemCollection.h>
Public Types | |
using | const_iterator = typename const_iterator |
using | iterator = typename iterator |
using | iterator_holder_type = List< SharedPtr< SdtListItem > > |
Public Member Functions | |
void | Add (SharedPtr< SdtListItem > item) |
Adds an item to this collection. More... | |
const_iterator | begin () const noexcept |
iterator | begin () noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
void | Clear () |
Clears all items from this collection. More... | |
const_iterator | end () const noexcept |
iterator | end () noexcept |
int32_t | get_Count () |
Gets number of items in the collection. More... | |
SharedPtr< SdtListItem > | get_SelectedValue () |
Specifies currently selected value in this list. Null value allowed, meaning that no currently selected entry is associated with this list item collection. More... | |
SharedPtr< IEnumerator< SharedPtr< SdtListItem > > > | 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 |
SharedPtr< SdtListItem > | idx_get (int32_t index) |
Returns a SdtListItem object given its zero-based index in the collection. More... | |
virtual bool | Is (const TypeInfo &target) const override |
void | RemoveAt (int32_t index) |
Removes a list item at the specified index. More... | |
void | set_SelectedValue (SharedPtr< SdtListItem > value) |
Setter for get_SelectedValue. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
using Aspose::Words::Markup::SdtListItemCollection::const_iterator = typename iterator_holder_type::const_iterator |
using Aspose::Words::Markup::SdtListItemCollection::iterator = typename iterator_holder_type::iterator |
using Aspose::Words::Markup::SdtListItemCollection::iterator_holder_type = System::Collections::Generic::List<System::SharedPtr<Aspose::Words::Markup::SdtListItem> > |
void Aspose::Words::Markup::SdtListItemCollection::Add | ( | System::SharedPtr< Aspose::Words::Markup::SdtListItem > | item | ) |
Adds an item to this collection.
Shows how to work with drop down-list structured document tags.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void Aspose::Words::Markup::SdtListItemCollection::Clear | ( | ) |
Clears all items from this collection.
Shows how to work with drop down-list structured document tags.
|
noexcept |
|
noexcept |
int32_t Aspose::Words::Markup::SdtListItemCollection::get_Count | ( | ) |
Gets number of items in the collection.
Shows how to work with drop down-list structured document tags.
System::SharedPtr<Aspose::Words::Markup::SdtListItem> Aspose::Words::Markup::SdtListItemCollection::get_SelectedValue | ( | ) |
Specifies currently selected value in this list. Null value allowed, meaning that no currently selected entry is associated with this list item collection.
Shows how to work with drop down-list structured document tags.
|
override |
Returns an enumerator object that can be used to iterate over all items in the collection.
Shows how to work with drop down-list structured document tags.
|
overridevirtual |
Reimplemented from System::Object.
System::SharedPtr<Aspose::Words::Markup::SdtListItem> Aspose::Words::Markup::SdtListItemCollection::idx_get | ( | int32_t | index | ) |
Returns a SdtListItem object given its zero-based index in the collection.
Shows how to work with drop down-list structured document tags.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::Markup::SdtListItemCollection::RemoveAt | ( | int32_t | index | ) |
Removes a list item at the specified index.
index | The zero-based index of the item to remove. |
Shows how to work with drop down-list structured document tags.
void Aspose::Words::Markup::SdtListItemCollection::set_SelectedValue | ( | System::SharedPtr< Aspose::Words::Markup::SdtListItem > | value | ) |
|
static |