Back to monogame.net
Show / Hide Table of Contents

Class SongCollection

Inheritance
Object
SongCollection
Implements
IEnumerable<Song>
IEnumerable
IDisposable
Namespace: Microsoft.Xna.Framework.Media
Assembly: MonoGame.Framework.dll
Syntax
public class SongCollection : ICollection<Song>

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
Int32

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
Boolean

Item[Int32]

Declaration
public Song this[int index] { get; }
Parameters
Type Name Description
Int32 index
Property Value
Type Description
Song

Methods

Add(Song)

Declaration
public void Add(Song item)
Parameters
Type Name Description
Song item

Clear()

Declaration
public void Clear()

Clone()

Declaration
public SongCollection Clone()
Returns
Type Description
SongCollection

Contains(Song)

Declaration
public bool Contains(Song item)
Parameters
Type Name Description
Song item
Returns
Type Description
Boolean

CopyTo(Song[], Int32)

Declaration
public void CopyTo(Song[] array, int arrayIndex)
Parameters
Type Name Description
Song[] array
Int32 arrayIndex

Dispose()

Declaration
public void Dispose()

GetEnumerator()

Declaration
public IEnumerator<Song> GetEnumerator()
Returns
Type Description
IEnumerator<Song>

IndexOf(Song)

Declaration
public int IndexOf(Song item)
Parameters
Type Name Description
Song item
Returns
Type Description
Int32

Remove(Song)

Declaration
public bool Remove(Song item)
Parameters
Type Name Description
Song item
Returns
Type Description
Boolean

Implements

IEnumerable<>
IEnumerable
IDisposable
In This Article
Back to top

© 2012 Microsoft Corporation. All rights reserved.

© The MonoGame Team.