PathPattern Enumeration

Specifies the kind of path that will be used for the link value specified in the ContentLink property of the ContentEditorWebPart class, the ContentLink property of the PageViewerWebPart class, the ImageLink property of ImageWebPart class, and the XslLink and XmlLink properties of the XmlWebPart class.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public enum PathPattern

Member nameDescription
NoneNo path.
FileA file system path to a file.
FolderA file system path to a folder.
URLAn absolute URL.
RelativeURLA relative URL.
AllAll possible paths.

While the PathPattern enumeration can be used by a custom Web Part, if so used, you should provide your own validation code for working with the value of this enumeration.