Partager via


DataSourceCollection.Dispose Method (Boolean)

Standard virtual overload for IDisposable pattern

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
'Utilisation
Dim disposing As Boolean

Me.Dispose(disposing)
protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
abstract Dispose : 
        disposing:bool -> unit 
override Dispose : 
        disposing:bool -> unit 
protected function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: System.Boolean
    True means this is a call to Dispose. False means it has been called from the finalizer.

Remarks

Derived classes are expected to override this method to provide custom dispose handling.

When disposing is false, derived classes should assume they are being called from the finalizer.

.NET Framework Security

See Also

Reference

DataSourceCollection Class

DataSourceCollection Members

Dispose Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace