Click or drag to resize
ResourceLibraryInfoProviderValidateLibraryUniqueness Method
Returns true when there is no ResourceLibraryInfo with given pathToLibrary referenced by ResourceInfo with resourceId.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
public static bool ValidateLibraryUniqueness(
	int resourceId,
	string pathToLibrary
)

Parameters

resourceId
Type: SystemInt32
ResourceInfo id.
pathToLibrary
Type: SystemString
Relative path to library.

Return Value

Type: Boolean
Remarks
The pathToLibrary is internally normalized with UnMapPath(String) method to the form of relative path.
See Also