Share via


DataCacheTag Constructor

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the DataCacheTag class.

Namespace: Microsoft.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)

Syntax

'Declaration
Public Sub New ( _
    tag As String _
)
'Usage
Dim tag As String

Dim instance As New DataCacheTag(tag)
public DataCacheTag (
    string tag
)
public:
DataCacheTag (
    String^ tag
)
public DataCacheTag (
    String tag
)
public function DataCacheTag (
    tag : String
)

Parameters

  • tag
    The string-based identifier to associate with a cached object.

Remarks

You can associate one or more tags to each cache object. Tag-based object retrieval is only available for those objects stored in regions. For more information about methods for using tags, see Tag-Based Methods (Velocity).

See Also

Reference

DataCacheTag Class
DataCacheTag Members
Microsoft.Data.Caching Namespace