PrimoBurner for .NET  5.0
CD, DVD and Blu-ray Software Development Kit
Loading...
Searching...
No Matches
DataFileList Class Reference

Represents a collection of DataFile objects. More...

Inherits IEnumerable< DataFile >.

Public Member Functions

bool Add (DataFile item)
 Adds a new DataFile object to the list.
 
void Clear ()
 Removes all items from the list.
 
IEnumerator< DataFileGetEnumerator ()
 Returns a standard enumerator of DataFile objects.
 
Int32 IndexOf (DataFile item)
 Determines the index of a specific item in the list.
 
void Remove (DataFile item)
 Removes the first occurrence of a specific object from the list.
 
void RemoveAt (Int32 index)
 Removes the element at the specified index.
 

Properties

Int32 Count [get]
 Gets the number of elements in the list.
 
DataFile this[Int32 index] [get, set]
 Gets or sets the element at the specified index.
 

Detailed Description

Represents a collection of DataFile objects.

Member Function Documentation

◆ Add()

bool Add ( DataFile  item)

Adds a new DataFile object to the list.

This automatically makes the parent DataFile object a directory.

Parameters
itemDataFile object to add to the list.
Returns
  • true - Success.
  • false - The item has a parent already.
See also
PrimoSoftware.Burner.DataFile

References DataFile.Parent.

◆ GetEnumerator()

IEnumerator< DataFile > GetEnumerator ( )

Returns a standard enumerator of DataFile objects.

Returns
Enumerator of DataFile objects.

◆ IndexOf()

Int32 IndexOf ( DataFile  item)

Determines the index of a specific item in the list.

Parameters
itemThe object to locate in the list.
Returns
Index of the item within the list, or -1 if the DataFile object is not part of the list

◆ Remove()

void Remove ( DataFile  item)

Removes the first occurrence of a specific object from the list.

Parameters
itemThe object to remove from the list.

References DataFile.Parent.

◆ RemoveAt()

void RemoveAt ( Int32  index)

Removes the element at the specified index.

Parameters
indexThe zero-based index of the element to remove.
See also
PrimoSoftware.Burner.DataFile
Exceptions
ArgumentOutOfRangeExceptionindex is not a valid index in the list.

Property Documentation

◆ this[Int32 index]

DataFile this[Int32 index]
getset

Gets or sets the element at the specified index.

Parameters
indexThe zero-based index of the element to get or set.
Returns
The element at the specified index.
Exceptions
ArgumentOutOfRangeExceptionindex is not a valid index in the list.