Matrix.Invert 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.
Inverts this Matrix, if it is invertible.
public:
 void Invert();public void Invert();member this.Invert : unit -> unitPublic Sub Invert ()Examples
The following code example creates a matrix and inverts it:
Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4);
 myMatrix.Invert();