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)期间遇到的错误。

适用于

另请参阅