Surface Constructor
Initializes a new instance of the Surface class.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Syntax
'Declaration
Public Sub New ( _
device As Device, _
image As Bitmap, _
pool As Pool _
)
'Usage
Dim device As Device
Dim image As Bitmap
Dim pool As Pool
Dim instance As New Surface(device, image, pool)
public Surface (
Device device,
Bitmap image,
Pool pool
)
public:
Surface (
Device^ device,
Bitmap^ image,
Pool pool
)
public Surface (
Device device,
Bitmap image,
Pool pool
)
public function Surface (
device : Device,
image : Bitmap,
pool : Pool
)
Parameters
- device
Reference to the Device associated with the surface.
- image
Reference to a Bitmap object that contains the bitmap for the surface.
- pool
A Pool object that defines the memory class of the surface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Surface Class
Surface Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace