WorkflowDesignerLoader.LoadDesignerLayoutFromResource 方法

定义

检索指定的资源,并调用 LoadDesignerLayout(XmlReader, IList) 方法,从而将序列化布局应用于当前设计器宿主中的根设计器。

protected:
 void LoadDesignerLayoutFromResource(Type ^ type, System::String ^ manifestResourceName, [Runtime::InteropServices::Out] System::Collections::IList ^ % errors);
protected void LoadDesignerLayoutFromResource (Type type, string manifestResourceName, out System.Collections.IList errors);
member this.LoadDesignerLayoutFromResource : Type * string * IList -> unit
Protected Sub LoadDesignerLayoutFromResource (type As Type, manifestResourceName As String, ByRef errors As IList)

参数

type
Type

与资源关联的 Type

manifestResourceName
String

资源的名称。

errors
IList

调用 LoadDesignerLayout(XmlReader, IList) 时遇到的错误。

适用于

另请参阅