Indicates whether an entry associated with the specified document exists.
public bool HasDocument(
string documentId,
bool updateExpiry
)
Public Function HasDocument(
ByVal documentId As String,
ByVal updateExpiry As Boolean
) As Boolean
public:
bool HasDocument(
String^ documentId,
bool updateExpiry
)
documentId
Document ID.
updateExpiry
Touches the item by updating its expiry policy.
true if the memory cache has an entry associated with documentId; otherwise, false.
If updateExpiry is true and the cache contains an entry associated with documentId, then the item expiry will be extended by another DocumentMemoryCacheStartOptions.SlidingExpiration.
Refer to DocumentMemoryCache for more information.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document