ResourceLoaderGetResource Method (String, Boolean) |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Returns an
IResource that has been mapped to the
protocol of the supplied
resourceName.
Namespace:
Tangosol.IO.Resources
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic static IResource GetResource(
string resourceName,
bool relative
)
Parameters
- resourceName
- Type: SystemString
The name of the resource.
- relative
- Type: SystemBoolean
If true the returned IResource will be
relative to the application base directory or web application root.
Return Value
Type:
IResource
A new
IResource instance for the supplied
resourceName.
Exceptions
See Also