ResourceInfoProvider.IsResourceAvailable Method |
Returns a value indicating whether the specified resource (module) is available.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 9.0.0
Syntax public static bool IsResourceAvailable(
int resourceId
)
Parameters
- resourceId
- Type: System.Int32
A resource (module) identifier.
Return Value
Type:
BooleanTrue, if the specified resource exists; otherwise, false.
Remarks
A resource is available only if a database record exists and a module with the same is installed.
A resource is also available if a negative identifier value is specified.
See Also