共用方式為


MappedFolderType 列舉型別

指定 SharePoint 專案中的對應資料夾的類型。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
<CLSCompliantAttribute(True)> _
Public Enumeration MappedFolderType
[CLSCompliantAttribute(true)]
public enum MappedFolderType

成員

成員名稱 說明
Other 這是任何對應資料夾的值,這個資料夾並未對應至其他 MappedFolderType 值所指定的其中一個資料夾。
ControlTemplates 表示已對應至 {SharePointRoot}\Template\ControlTemplates 的對應資料夾。
Images 表示已對應至 {SharePointRoot}\Template\Images 的對應資料夾。
Layouts 表示已對應至 {SharePointRoot}\Template\Layouts 的對應資料夾。
SharePointRoot 表示已對應至 {SharePointRoot} 的對應資料夾。
Template 表示已對應至 {SharePointRoot}\Template 的對應資料夾。

備註

您可以在下列情節中使用 MappedFolderType 值:

當您使用 IMappedFolderCollection.Add(String)IMappedFolderCollection.Add(String, Boolean) 方法建立對應資料夾時,會自動根據您指定的相對路徑設定新對應資料夾的 FolderType 屬性。 如果您指定的相對路徑並不對應於標準對應的資料夾,新對應資料夾的 FolderType屬性會有 Other 值。

請參閱

參考

Microsoft.VisualStudio.SharePoint 命名空間