Share via


IconHandleImageCache Class

Microsoft internal use only.

Represents a cache where the handle to an icon is used as a key mapping to a Windows Presentation Foundation (WPF) image wrapper for that handle to an icon.

Inheritance Hierarchy

System.Object
  Microsoft.Internal.VisualStudio.PlatformUI.WeakImageCache<IntPtr>
    Microsoft.Internal.VisualStudio.PlatformUI.IconHandleImageCache

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

Syntax

'Declaration
Public Class IconHandleImageCache _
    Inherits WeakImageCache(Of IntPtr)
public class IconHandleImageCache : WeakImageCache<IntPtr>
public ref class IconHandleImageCache : public WeakImageCache<IntPtr>
type IconHandleImageCache =  
    class 
        inherit WeakImageCache<IntPtr>
    end
public class IconHandleImageCache extends WeakImageCache<IntPtr>

The IconHandleImageCache type exposes the following members.

Constructors

  Name Description
Public method IconHandleImageCache Microsoft internal use only. Initializes a new instance of the IconHandleImageCache class.

Top

Properties

  Name Description
Protected property Cache (Inherited from WeakImageCache<TIndex>.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetImage (Inherited from WeakImageCache<TIndex>.)
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 RealizeImage Microsoft internal use only. Returns a managed BitmapSource, based on the provided pointer to an unmanaged icon image. (Overrides WeakImageCache<TIndex>.RealizeImage(TIndex).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.Internal.VisualStudio.PlatformUI Namespace