Determines if a given skin is defined as a global skin

Namespace: DotNetNuke.UI.Skins
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static bool IsGlobalSkin(
	string skinSrc
)
Visual Basic
Public Shared Function IsGlobalSkin ( 
	skinSrc As String
) As Boolean

Parameters

skinSrc
Type: System..::..String
This is the app relative path and filename of the skin to be checked.

Return Value

True if the skin is located in the HostPath child directories.

Remarks

This function performs a quick check to detect the type of skin that is passed as a parameter. Using this method abstracts knowledge of the actual location of skins in the file system.

See Also