[]
Creates an instance of this type given a set of property values for the object. This is useful for objects that are immutable, but still want to provide changable properties.
public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
| Type | Name | Description |
|---|---|---|
| ITypeDescriptorContext | context | The context. |
| IDictionary | propertyValues | The properties. |
| Type | Description |
|---|---|
| object | New instance created. |
| Type | Condition |
|---|---|
| ArgumentNullException | Occurs if context or properties is null. |