LinkedResourceCollection

Inheritance: java.lang.Object, com.aspose.ms.System.Collections.ObjectModel.Collection

All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable

public final class LinkedResourceCollection extends System.Collections.ObjectModel.Collection<LinkedResource> implements System.IDisposable, Closeable

Represents a collection of LinkedResource objects

Methods

Method Description
dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
close()
removeAt(int index, boolean removeHtmlLink) Removes the element at the specified index from this collection.
clear(boolean removeHtmlLinks) Removes all elements from this collection.
insertItem(int index, LinkedResource item) Inserts an element into the ``` System.Collections.ObjectModel.Collection`1 ``` at the specified index.

dispose()

public final void dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

close()

public void close()

removeAt(int index, boolean removeHtmlLink)

public final void removeAt(int index, boolean removeHtmlLink)

Removes the element at the specified index from this collection.

Parameters:

Parameter Type Description
index int The zero-based index of the element to remove.
removeHtmlLink boolean Defines need remove link from html body or not.

clear(boolean removeHtmlLinks)

public final void clear(boolean removeHtmlLinks)

Removes all elements from this collection.

Parameters:

Parameter Type Description
removeHtmlLinks boolean Defines need remove links from html body or not.

insertItem(int index, LinkedResource item)

public void insertItem(int index, LinkedResource item)

Inserts an element into the ``` System.Collections.ObjectModel.Collection`1 ``` at the specified index.

Parameters:

Parameter Type Description
index int The zero-based index at which ``` item ``` should be inserted.
item LinkedResource The object to insert. The value can be null for reference types.