Share via


DisposableObject Class

Microsoft internal use only.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.DisposableObject
    Microsoft.VisualStudio.PlatformUI.EnvironmentRenderCapabilities
    Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public Class DisposableObject _
    Implements IDisposable
[ComVisibleAttribute(true)]
public class DisposableObject : IDisposable
[ComVisibleAttribute(true)]
public ref class DisposableObject : IDisposable
[<ComVisibleAttribute(true)>]
type DisposableObject =  
    class
        interface IDisposable
    end
public class DisposableObject implements IDisposable

The DisposableObject type exposes the following members.

Constructors

  Name Description
Public method DisposableObject Microsoft internal use only.

Top

Properties

  Name Description
Public property IsDisposed Microsoft internal use only.

Top

Methods

  Name Description
Public method Dispose() Microsoft internal use only.
Protected method Dispose(Boolean) Microsoft internal use only.
Protected method DisposeManagedResources Microsoft internal use only.
Protected method DisposeNativeResources Microsoft internal use only.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Microsoft internal use only. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ThrowIfDisposed Microsoft internal use only.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event Disposing Microsoft internal use only.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace