SourceMediaList Class

DTF API

Copy image CopyHover image
Deployment Tools Foundation SourceMediaList Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSourceMediaList
A list of source media for an installed product or patch.
Declaration Syntax
C# Visual Basic Visual C++ F#
public class SourceMediaList : ICollection<MediaDisk>, 
	IEnumerable<MediaDisk>, IEnumerable
Public Class SourceMediaList
	Implements ICollection(Of MediaDisk), IEnumerable(Of MediaDisk), 
	IEnumerable
public ref class SourceMediaList : ICollection<MediaDisk>, 
	IEnumerable<MediaDisk>, IEnumerable
type SourceMediaList =  
    class
        interface ICollection<MediaDisk>
        interface IEnumerable<MediaDisk>
        interface IEnumerable
    end
Members
All Members Methods Properties



Icon Member Description
Add(MediaDisk)
Adds or updates a disk of the media source for the product or patch.

Clear()()()()
Removes all source media from the list.

Contains(Int32)
Checks if the specified media disk id exists in the list.

CopyTo(array<MediaDisk>[]()[][], Int32)
Copies the source media info from this list into an array.

Count
Gets the number of source media in the list.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()()
Enumerates the source media in the source list of the patch or product installation.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsReadOnly
Gets a boolean value indicating whether the list is read-only. A SourceMediaList is never read-only.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(Int32)
Removes a specified disk from the set of registered disks.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
SourceMediaList

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)