XFileData.Unlock() Method (Microsoft.DirectX.Direct3D)

Ends access to the GraphicsStream object returned by XFileData.Lock.

Definition

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

Remarks

You must ensure that the number of lock calls matches the number of unlock calls.

After calling XFileData.Unlock, the GraphicsStream object returned by XFileData.Lock should no longer be used.