共用方式為


DisposableObject Class

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

Syntax

'宣告
<ComVisibleAttribute(True)> _
Public Class DisposableObject _
    Implements IDisposable
'用途
Dim instance As DisposableObject
[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

Inheritance Hierarchy

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

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

DisposableObject Members

Microsoft.VisualStudio.PlatformUI Namespace