WorkflowMarkupSerializationManager.IDesignerSerializationManager.CreateInstance 메서드

정의

지정된 형식의 인스턴스를 만들고 명명된 인스턴스의 컬렉션에 추가합니다.

 virtual System::Object ^ System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type ^ type, System::Collections::ICollection ^ arguments, System::String ^ name, bool addToContainer) = System::ComponentModel::Design::Serialization::IDesignerSerializationManager::CreateInstance;
object IDesignerSerializationManager.CreateInstance(Type type, System.Collections.ICollection arguments, string name, bool addToContainer);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance : Type * System.Collections.ICollection * string * bool -> obj
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance : Type * System.Collections.ICollection * string * bool -> obj
Function CreateInstance (type As Type, arguments As ICollection, name As String, addToContainer As Boolean) As Object Implements IDesignerSerializationManager.CreateInstance

매개 변수

type
Type

만들려는 개체입니다 Type .

arguments
ICollection

ICollection 에 대한 type인수를 포함하는 인수입니다.

name
String

개체의 이름입니다. 이 이름은 나중에 .를 사용하여 IDesignerSerializationManager.GetInstance(String)개체에 액세스하는 데 사용할 수 있습니다. null 참조(Visual Basic Nothing)가 전달되면 개체는 계속 만들어지지만 이름으로 액세스할 수 없습니다.

addToContainer
Boolean

true개체를 디자인 컨테이너에 추가하려면 입니다. 그렇지 않으면 . false

반품

새로 만든 개체입니다.

구현

설명

이 값을 addToContainer설정하면 true 개체가 이를 구현 IComponent 해야 효과가 있습니다.

적용 대상