Share via


DisposableObject.DisposeNativeResources Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Allows derived classes to provide custom dispose handling for native resources.

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

Syntax

'Declaration
Protected Overridable Sub DisposeNativeResources
protected virtual void DisposeNativeResources()
protected:
virtual void DisposeNativeResources()
abstract DisposeNativeResources : unit -> unit  
override DisposeNativeResources : unit -> unit
protected function DisposeNativeResources()

Remarks

Derived classes are expected to override this method to dispose their native resources, then call the base class.

.NET Framework Security

See Also

Reference

DisposableObject Class

Microsoft.VisualStudio.PlatformUI Namespace