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


<FlagsAttribute> _
Public Enumeration PathPattern
Dim instance As PathPattern
public enum PathPattern


Member name Description
None No path.
File A file system path to a file.
Folder A file system path to a folder.
URL An absolute URL.
RelativeURL A relative URL.
All All 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.

See Also


Microsoft.SharePoint.WebPartPages Namespace