Model3DCollection.Contains(Model3D) Model3DCollection.Contains(Model3D) Model3DCollection.Contains(Model3D) Model3DCollection.Contains(Model3D) Method

定義

判斷指定的 Model3D 是否在這個 Model3DCollection 中。Determines whether the specified Model3D is in this Model3DCollection.

public:
 virtual bool Contains(System::Windows::Media::Media3D::Model3D ^ value);
public bool Contains (System.Windows.Media.Media3D.Model3D value);
abstract member Contains : System.Windows.Media.Media3D.Model3D -> bool
override this.Contains : System.Windows.Media.Media3D.Model3D -> bool
Public Function Contains (value As Model3D) As Boolean

參數

value
Model3D Model3D Model3D Model3D

要在這個集合中尋找的項目。The item to locate in this collection.

傳回

如果指定的 Model3D value 在這個 Model3Dcollection 中,則為 true,否則為 falsetrue if value, the specified Model3D, is in this Model3DCollection; otherwise, false.

實作

適用於