# Rect3D.EqualsRect3D.EqualsRect3D.EqualsRect3D.Equals Method

## 多載

 Equals(Object) Equals(Object) Equals(Object) Equals(Object) 比較兩個 Rect3D 執行個體是否相等。Compares two Rect3D instances for equality. Equals(Rect3D) Equals(Rect3D) Equals(Rect3D) Equals(Rect3D) 比較兩個 Rect3D 執行個體是否相等。Compares two Rect3D instances for equality. Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D) 比較兩個 Rect3D 執行個體是否相等。Compares two Rect3D instances for equality.

## Equals(Object)Equals(Object)Equals(Object)Equals(Object)

``````public:
override bool Equals(System::Object ^ o);``````
``public override bool Equals (object o);``
``override this.Equals : obj -> bool``
``Public Overrides Function Equals (o As Object) As Boolean``

#### 參數

o
Object Object Object Object

### 備註

Rect3D通常用來表示MeshGeometry3DModel3D的界限。Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

## Equals(Rect3D)Equals(Rect3D)Equals(Rect3D)Equals(Rect3D)

``````public:
bool Equals(System::Windows::Media::Media3D::Rect3D value);``````
``public bool Equals (System.Windows.Media.Media3D.Rect3D value);``
``override this.Equals : System.Windows.Media.Media3D.Rect3D -> bool``
``Public Function Equals (value As Rect3D) As Boolean``

#### 參數

value
Rect3D Rect3D Rect3D Rect3D

### 備註

Rect3D通常用來表示MeshGeometry3DModel3D的界限。Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

## Equals(Rect3D, Rect3D)Equals(Rect3D, Rect3D)Equals(Rect3D, Rect3D)Equals(Rect3D, Rect3D)

``````public:
static bool Equals(System::Windows::Media::Media3D::Rect3D rect1, System::Windows::Media::Media3D::Rect3D rect2);``````
``public static bool Equals (System.Windows.Media.Media3D.Rect3D rect1, System.Windows.Media.Media3D.Rect3D rect2);``
``static member Equals : System.Windows.Media.Media3D.Rect3D * System.Windows.Media.Media3D.Rect3D -> bool``
``Public Shared Function Equals (rect1 As Rect3D, rect2 As Rect3D) As Boolean``

#### 參數

rect1
Rect3D Rect3D Rect3D Rect3D

rect2
Rect3D Rect3D Rect3D Rect3D

### 備註

Rect3D通常用來表示MeshGeometry3DModel3D的界限。Rect3D s typically used to represent the bounds of a MeshGeometry3D or Model3D.