共用方式為


PathPattern enumeration

指定將用於連結值的路徑類型指定在ContentEditorWebPart類別的 [ ContentLink ] 屬性中, PageViewerWebPart類別的ContentLink屬性, ImageWebPart類別的ImageLink屬性,並XmlWebPart類別的XslLinkXmlLink屬性。

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)

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration PathPattern
'用途
Dim instance As PathPattern
[FlagsAttribute]
public enum PathPattern

Members

Member name Description
None 沒有路徑。
File 檔案系統路徑到檔案。
Folder 檔案系統資料夾路徑。
URL 絕對 URL。
RelativeURL 相對的 URL。
All 所有可能的路徑。

備註

自訂網頁組件,可以使用PathPattern列舉型別,所以使用,您應該提供自己的驗證程式碼使用這個列舉型別的值。

請參閱

參照

Microsoft.SharePoint.WebPartPages namespace