ActivityCodeDomSerializationManager.CreateInstance 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 형식의 인스턴스를 만들고 명명된 인스턴스의 컬렉션에 추가합니다.
public:
virtual System::Object ^ CreateInstance(Type ^ type, System::Collections::ICollection ^ arguments, System::String ^ name, bool addToContainer);
public object CreateInstance(Type type, System.Collections.ICollection arguments, string name, bool addToContainer);
abstract member CreateInstance : Type * System.Collections.ICollection * string * bool -> obj
override this.CreateInstance : Type * System.Collections.ICollection * string * bool -> obj
Public Function CreateInstance (type As Type, arguments As ICollection, name As String, addToContainer As Boolean) As Object
매개 변수
- arguments
- ICollection
ICollection 지정된 형식의 생성자에 전달할 인수입니다.
- name
- String
결과 개체에 할당된 이름입니다. 이 이름은 나중에 .를 통해 GetInstance(String)개체에 액세스하는 데 사용할 수 있습니다.
null이 전달되면 개체가 만들어지지만 이름으로 액세스할 수 없습니다.
- addToContainer
- Boolean
true개체를 디자인 컨테이너에 추가하려면 입니다. 그렇지 않으면 . false
개체가 이를 구현 IComponent 해야 효과가 있습니다.
반품
새로 만든 개체 인스턴스입니다.
구현
설명
동일한 이름의 메서드에 SerializationManager 대한 간접 참조를 제공합니다.