Click or drag to resize

CustomSlideShowCollectionInsertNew Method

Inserts a new custom show with the specified name at the specified index.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public CustomSlideShow InsertNew(
	int index,
	string name
)

Parameters

index
Type: SystemInt32
The position in the collection where the new custom show should be inserted.
name
Type: SystemString
The name of the custom show.

Return Value

Type: CustomSlideShow
A newly inserted custom show with the specified name.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0 or greater than Count.
ArgumentExceptionname is either or Empty or custom show with the same name already exists in the collection.
See Also