SPContentType.EditFormTemplateName 属性

获取或设置用于分配此内容类型的项的自定义Edit表单模板的名称。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property EditFormTemplateName As String
    Get
    Set
用法
Dim instance As SPContentType
Dim value As String

value = instance.EditFormTemplateName

instance.EditFormTemplateName = value
public string EditFormTemplateName { get; set; }

属性值

类型:System.String
自定义Edit表单模板的名称。

备注

表单模板是.asmx 控件呈现SharePoint Foundation网页上的管理中心部分。也就是说,表单模板呈现SharePoint Foundation框架元素 (新增功能通常称作部件版式) 除在页上。SharePoint Foundation呈现页面的帧元素。

您指定的表单模板名称必须是位于以下位置的前端 Web 服务器上的.ascx 文件内找到的呈现模板的名称:

Program files\common files\microsoft shared\web server extensions\12\template\controltemplates

For more information, see FormTemplates Schema Overview.

另请参阅

引用

SPContentType 类

SPContentType 成员

Microsoft.SharePoint 命名空间

其他资源

FormTemplates Schema Overview

Custom Information in Content Types

Introduction to Content Types

Site and List Content Types

Base Content Type Hierarchy