Click or drag to resize
ResourceInfoProviderGetResourceInfo Method (Int32)

Note: This API is now obsolete.

Returns the ResourceInfo structure for the specified resource.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IResourceInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ResourceInfo.Provider.")]
public static ResourceInfo GetResourceInfo(
	int resourceId
)

Parameters

resourceId
Type: SystemInt32
Id of the resource to retrieve

Return Value

Type: ResourceInfo
See Also