DesignerBuilderType 类
包含对生成器与Microsoft SharePoint Foundation,如SharePoint Designer兼容设计应用程序的引用。
继承层次结构
System.Object
Microsoft.SharePoint.WebPartPages.DesignerBuilderType
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class DesignerBuilderType
用法
Dim instance As DesignerBuilderType
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class DesignerBuilderType
备注
当 Web 部件承载在设计支持的应用程序 Web 部件生成器并生成器是在属性表中,选择window.external.InvokeBuilder方法将调用设计应用程序并传递BuilderType、 BuilderArguments和ElementID信息。
DesignerBuilderType类的字段被传递给HtmlEditorBuilderType属性。
示例
下面的示例演示如何将File字段传递给属性file。
[DefaultValue(""),HtmlDesigner(BrowserBuilderType.NoBuilder,
HtmlEditorBuilderType=DesignerBuilderType.File)]
public string file
{
get{return _file;}
set{_file=value;}
}
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。