This document is archived and information here might be outdated. Recommended version. |
Uninitialize the object.
[Visual Basic .NET]
Public Sub SetEmpty ( _
)
[C#]
public void SetEmpty (
);
[C++]
HRESULT SetEmpty(
void
);
SetEmpty allows developers to release resources (e.g., memory and other objects) held by the reader at any time, rather than having to wait until the reader goes out of its scope.