Tries to fetch the specified part from the cache.
Namespace: FirstFloor.Documents.IO.CachingAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
| C# |
|---|
protected override bool TryGetPartFromCache( Uri partUri, out Stream stream ) |
| Visual Basic |
|---|
Protected Overrides Function TryGetPartFromCache ( _ partUri As Uri, _ <OutAttribute> ByRef stream As Stream _ ) As Boolean |
| Visual C++ |
|---|
protected: virtual bool TryGetPartFromCache( Uri^ partUri, [OutAttribute] Stream^% stream ) override |
Return Value
A value indicating whether specified part was found in the cache.
Remarks
A new stream instance should be returned for every method call for the stream is disposed after usage.