Returns whether the given persistent object is in cache.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function IsPersistentObjectInCache( _
ByVal obj As Object _
) As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SimpleCacheManager
Dim obj As Object
Dim value As Boolean
value = instance.IsPersistentObjectInCache(obj)
|
| C# | |
|---|
public bool IsPersistentObjectInCache(
object obj
) |
| Managed Extensions for C++ | |
|---|
public: bool IsPersistentObjectInCache(
Object* obj
) |
| C++/CLI | |
|---|
public:
bool IsPersistentObjectInCache(
Object^ obj
) |
Parameters
- obj
- The persistent object that is checked for being in the cache.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also