Méthode SqlCeDataReader.Dispose (Boolean)
Libère les ressources non managées utilisées par cet SqlCeDataReader et libère éventuellement aussi les ressources managées.
Espace de noms : System.Data.SqlServerCe
Assembly : System.Data.SqlServerCe (en System.Data.SqlServerCe.dll)
Syntaxe
'Déclaration
<SecurityCriticalAttribute> _
<SecurityTreatAsSafeAttribute> _
Protected Overrides Sub Dispose ( _
disposing As Boolean _
)
'Utilisation
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
)
Paramètres
- disposing
Type : System.Boolean
Spécifie s'il convient de libérer les ressources managées.