DesignerBuilderType class
包含用於設計應用程式與Microsoft SharePoint Foundation,例如SharePoint Designer相容的產生器的參考。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.WebPartPages.DesignerBuilderType
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class DesignerBuilderType
'用途
Dim instance As DesignerBuilderType
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class DesignerBuilderType
備註
當 「 網頁組件裝載在支援網頁組件產生器的設計應用程式,並且產生器的屬性表上,選取window.external.InvokeBuilder方法會呼叫設計應用程式並傳遞BuilderType、 BuilderArguments和ElementID資訊。
DesignerBuilderType類別的欄位會傳遞至HtmlEditorBuilderType屬性。
Examples
下列範例顯示如何將File欄位傳遞至屬性file。
[DefaultValue(""),HtmlDesigner(BrowserBuilderType.NoBuilder,
HtmlEditorBuilderType=DesignerBuilderType.File)]
public string file
{
get{return _file;}
set{_file=value;}
}
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.