PortionCollection

PortionCollection

Pregled

PortionCollection је класа у Aspose.Slides FOSS за .NET. Наслеђени од: ISlideComponent, IPortionCollection, IEnumerable<IPortion>.

Представља променљиву колекцију порција који припадају слојном компоненту.

Ова класа пружа 9 метода за рад са објектима PortionCollection у .NET програмима. Доступне методе укључују: Add, Clear, Contains, GetEnumerator, GetPortions, IndexOf, Insert, Remove, RemoveAt. Сви јавни чланови су доступни за било коју .NET апликацију након инсталације Aspose.Slides FOSS за .Net пакет. имовине : AsIEnumerable, AsIPresentationComponent, Count, IsReadOnly, Presentation, Slide.

Svojstva

ИмеТипAccessОпис
SlideIBaseSlide?читањеDohvata slajd.
PresentationIPresentation?читањеDohvata prezentaciju.
AsIPresentationComponentIPresentationComponentчитањеDobija as i prezentacionu komponentu.
AsIEnumerableIEnumerable<IPortion>читањеDobija kao IEnumerable.
CountintчитањеVraća broj.
IsReadOnlyboolчитањеDohvata da li je samo za čitanje.

Metode

SignatureОпис
GetPortions()Dobija delove iz osnovnog XML elementa pasusa.
Add(value: IPortion)Унесите одређени IPortion у колекцију
IndexOf(item: IPortion)Враћа нуле-базирани индекс датог IPortion
Insert(index: int, value: IPortion)Поставите IPortion на одређеном индексу
Clear()Позива се јасно на овом PortionCollection инстанцији.
Contains(item: IPortion)Проверите да ли колекција укључује IPortion
Remove(item: IPortion)Уклоните први појављивање наведеног IPortion
RemoveAt(index: int)Избришете део на датом индексу
GetEnumerator()Понуди итератор преко колекције

Vidi takođe

 Српски