Gets or sets whether to extend the cache duration of an existing item if added a second time. If true
on a second add the cache duration of the existing object is extended.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property ExtendDurationOnMultipleAdd As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SimpleCacheManager
Dim value As Boolean
instance.ExtendDurationOnMultipleAdd = value
value = instance.ExtendDurationOnMultipleAdd
|
| C# | |
|---|
public bool ExtendDurationOnMultipleAdd {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_ExtendDurationOnMultipleAdd();
public: __property void set_ExtendDurationOnMultipleAdd(
bool value
); |
| C++/CLI | |
|---|
public:
property bool ExtendDurationOnMultipleAdd {
bool get();
void set (bool value);
} |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also