![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Contains Method (diskId)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► SourceMediaList ► Contains(Int32)
Checks if the specified media disk id exists in the list.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public bool Contains( int diskId )
Public Function Contains ( diskId As Integer ) As Boolean
public: bool Contains( int diskId )
member Contains : diskId : int -> bool
![](collapse_all.gif)
- diskId (Int32)
- disk id of the media to look for
![](collapse_all.gif)
Boolean
true if the media exists in the list, false otherwise
true if the media exists in the list, false otherwise
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)