共用方式為


Surface Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members

Include .NET Compact Framework Members
Include XNA Framework Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Queries and prepares surfaces.

The Surface type exposes the following members.

Constructors

  Name Description
Public methodSupported by the .NET Compact Framework Surface Initializes a new instance of the Surface class.

Top

Methods

  Name Description
Public methodSupported by the .NET Compact Framework Dispose Releases all resources used by the Surface.
Public methodSupported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact Framework Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public methodSupported by the .NET Compact Framework GetGraphics Retrieves a device context.
Public methodSupported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework LockRectangle Locks a rectangle on a surface.
Protected methodSupported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework ReleaseGraphics Releases the device context obtained by calling GetGraphics.
Public methodSupported by the .NET Compact Framework ToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework UnlockRectangle Unlocks a rectangle on a surface.

Top

Properties

  Name Description
Public propertySupported by the .NET Compact Framework Description Gets the description of a surface.
Public propertySupported by the .NET Compact Framework Device Retrieves the Direct3D device associated with the surface.
Public propertySupported by the .NET Compact Framework Disposed Gets a value that indicates whether the object is disposed.

Top

Events

  Name Description
Public eventSupported by the .NET Compact Framework Disposing Occurs when the Dispose method is called or when the Surface object is finalized and collected by the garbage collector,

Top

See Also

Reference

Surface Class

Microsoft.WindowsMobile.DirectX.Direct3D Namespace