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

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
protected virtual bool ValidateLibraryUniquenessInternal(
	int resourceId,
	string pathToLibrary,
	int resourceLibraryId = 0
)

Parameters

resourceId
Type: SystemInt32
ResourceInfo id.
pathToLibrary
Type: SystemString
Relative path to library.
resourceLibraryId (Optional)
Type: SystemInt32
ResourceLibraryInfo id.

Return Value

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