SqlCeDataReader.Dispose Method (Boolean)

Releases the unmanaged resources used by this SqlCeDataReader, and optionally releases the managed resources as well.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
<SecurityCriticalAttribute> _
<SecurityTreatAsSafeAttribute> _
Protected Overrides Sub Dispose ( _
    disposing As Boolean _
)
'Usage
Dim disposing As Boolean

Me.Dispose(disposing)
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
protected override void Dispose(
    bool disposing
)
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
protected:
virtual void Dispose(
    bool disposing
) override
[<SecurityCriticalAttribute>]
[<SecurityTreatAsSafeAttribute>]
abstract Dispose : 
        disposing:bool -> unit 
[<SecurityCriticalAttribute>]
[<SecurityTreatAsSafeAttribute>]
override Dispose : 
        disposing:bool -> unit 
protected override function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: System.Boolean
    Specifies whether to release managed resources.

See Also

Reference

SqlCeDataReader Class

Dispose Overload

System.Data.SqlServerCe Namespace