ImageList.ImageCollection.Contains(Image) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Not supported. The Contains(Object) method indicates whether a specified object is contained in the list.
public:
bool Contains(System::Drawing::Image ^ image);
public bool Contains (System.Drawing.Image image);
member this.Contains : System.Drawing.Image -> bool
Public Function Contains (image As Image) As Boolean
Parameters
Returns
true
if the image is found in the list; otherwise, false
.
Exceptions
This method is not supported.
Remarks
This implementation of the Contains method throws a NotSupportedException exception.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.