CacheKeysGetFileKey Method |
Returns unique identifier for the cache entry that represents file.
Namespace: GroupDocs.Viewer.CachingAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic static string GetFileKey(
string extension
)
Public Shared Function GetFileKey (
extension As String
) As String
public:
static String^ GetFileKey(
String^ extension
)
static member GetFileKey :
extension : string -> string
Parameters
- extension
- Type: SystemString
The filename suffix (including the period ".") e.g. ".doc".
Return Value
Type:
StringUnique identifier for the cache entry that represents file.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when extension is null or empty. |
See Also