Compartir a través de


DynamicRendererCachedData Class

DynamicRendererCachedData Class

The DynamicRenderer instantiates this data object and adds it to the queue using the AddCustomStylusDataToQueue method with the CustomDataId set to DynamicRendererCachedDataGuid.

Definition

Visual Basic .NET NotInheritable Public Class DynamicRendererCachedData
Inherits Object
C# public sealed class DynamicRendererCachedData : Object
Managed C++ public __gc __sealed class DynamicRendererCachedData : public Object

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave Site Allows an Object Leave Site to attempt to free resources and perform other cleanup operations before the Object Leave Site is reclaimed by garbage collection. Inherited from Object Leave Site.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
ToString Leave Site Returns a String Leave Site that represents the current Object Leave Site. Inherited from Object Leave Site.

Properties

Property Description
CachedDataId Gets the identifier of the corresponding data cache that can be released by the DynamicRenderer when this data object reaches the asynchronous plug-in that stores and renders ink.
DynamicRenderer Gets a reference back to the DynamicRenderer to release the cached data.

Inheritance Hierarchy

Object Leave Site

DynamicRendererCachedData

Remarks

This object serves as a synchronization marker, notifying the asynchronous plug-ins to call back to DynamicRenderer and release the cached data. This callback code is the responsibility of the developer, and thus the EnableDataCache property is False by default to avoid unlimited accumulation of cached data in the DynamicRenderer.

Class Information

Namespace Microsoft.StylusInput.PluginData
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8