# Matrix3D.Equals 方法

## 多載

 測試兩個矩陣之間是否相等。Tests equality between two matrices. 測試兩個矩陣之間是否相等。Tests equality between two matrices. 測試兩個矩陣之間是否相等。Tests equality between two matrices.

## 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

#### 傳回

Boolean，表示矩陣是否相等。Boolean that indicates whether the matrices are equal.

## Equals(Matrix3D)

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

value
Matrix3D

#### 傳回

Boolean，表示矩陣是否相等。Boolean that indicates whether the matrices are equal.

## Equals(Matrix3D, Matrix3D)

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

matrix1
Matrix3D

matrix2
Matrix3D

#### 傳回

Boolean，表示矩陣是否相等。Boolean that indicates whether the matrices are equal.