.NET Matrix Library
DataPtr Property
See Also  Send Feedback



Gets the address of the unmanaged (native) memory block containing the matrix's elements.

Syntax

Visual Basic (Declaration) 
<XmlIgnoreAttribute()>
Public ReadOnly Property DataPtr As IntPtr
Visual Basic (Usage)Copy Code
Dim instance As Matrix
Dim value As IntPtr
 
value = instance.DataPtr
C# 
[XmlIgnoreAttribute()]
public IntPtr DataPtr {get;}
C++/CLI 
[XmlIgnoreAttribute()]
public:
property IntPtr DataPtr {
   IntPtr get();
}

Property Value

An IntPtr representing the address of the first element of the matrix.

Remarks

Matrix elements are stored in column major order. For a 3x2 matrix its items will be stored in the following order: [0,0], [1,0], [2,0], [0,1], [1,1], [2,1] .

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library