DataCache.Remove Method (String)

 

Removes an object from the cache.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Syntax

public bool Remove(
    string key
)
public:
bool Remove(
    String^ key
)
member Remove : 
        key:string -> bool
Public Function Remove (
    key As String
) As Boolean

Parameters

  • key
    Type: System.String

    The unique value that is used to identify the object in the region.

Return Value

Type: System.Boolean

True if the object identified by the key is removed; otherwise, false.

See Also

Remove Overload
DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top