AttachmentsField.DisplayTemplateName 属性

获取或设置控件中显示模式 ; BaseFieldControl对象的呈现模板的名称即,但却不在新建或编辑窗体上。

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

语法

声明
Public Overrides ReadOnly Property DisplayTemplateName As String
    Get
用法
Dim instance As AttachmentsField
Dim value As String

value = instance.DisplayTemplateName
public override string DisplayTemplateName { get; }

属性值

类型:System.String
名称呈现模板String

备注

此重写返回"AttachmentsField",即DefaultTemplates.ascx文件中的 <RenderingTemplate> 元素的 ID 属性的值。

另请参阅

引用

AttachmentsField 类

AttachmentsField 成员

Microsoft.SharePoint.WebControls 命名空间