Partager via


PageContentAdorner.Dispose Method (Boolean)

 

Releases the unmanaged resources used by the PageContentAdorner object and optionally releases the managed resources.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
Protected Overridable Sub Dispose (
    disposing As Boolean
)

Parameters

  • disposing
    Type: System.Boolean

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

This method is called by the public Dispose method and the Finalize method. Dispose invokes this method with disposing set to true. Finalize invokes this method with disposing set to false.

When disposing is true, this method releases all resources held by any managed objects that are referenced by the PageContentAdorner object. This method invokes the Dispose method of each referenced object.

See Also

Dispose Overload
PageContentAdorner Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners Namespace

Return to top