Share via


Surface.UnlockRectangle() Method (Microsoft.DirectX.Direct3D)

Unlocks a rectangle on a surface.

Definition

Visual Basic Public Sub UnlockRectangle()
C# public void UnlockRectangle();
C++ public:
void UnlockRectangle();
JScript public function UnlockRectangle();

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.