Closes the SqlCeDataReader object.
[Visual Basic] Public Overridable Sub Close() Implements IDataReader.Close [C#] public virtual void Close(); [C++] public: virtual void Close(); [JScript] public function Close();
To use the associated SqlCeConnection for any other purpose, you first must explicitly call the Close method when you are through using the SqlCeDataReader; however, you can create multiple readers in the same connection.
Platforms: .NET Compact Framework
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code