LinkArea.LinkAreaConverter.CreateInstance 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
개체의 속성 값 집합이 주어진 경우 이러한 형식의 인스턴스를 만듭니다. 변경 불가능하지만 변경할 수 있는 속성을 계속 제공하려고 하는 개체에 대해 이 작업이 유용합니다.
public:
override System::Object ^ CreateInstance(System::ComponentModel::ITypeDescriptorContext ^ context, System::Collections::IDictionary ^ propertyValues);
public override object CreateInstance (System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues);
public override object CreateInstance (System.ComponentModel.ITypeDescriptorContext? context, System.Collections.IDictionary propertyValues);
override this.CreateInstance : System.ComponentModel.ITypeDescriptorContext * System.Collections.IDictionary -> obj
Public Overrides Function CreateInstance (context As ITypeDescriptorContext, propertyValues As IDictionary) As Object
매개 변수
- context
- ITypeDescriptorContext
추가 컨텍스트를 제공하는 형식 설명자입니다.
- propertyValues
- IDictionary
새 속성 값의 사전입니다. 이 사전은 GetProperties(ITypeDescriptorContext, Object, Attribute[])에서 반환된 각 속성에 대해 이름/값 쌍을 하나씩 포함하는 이름/값 쌍 집합을 포함합니다.
반환
새로 만들어진 개체를 반환하거나, 개체를 만들 수 없는 경우에는 null을 반환합니다. 기본 구현은 null을 반환합니다.