The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
PropertyDescriptor::CreateInstance Method (Type^)
.NET Framework (current version)
Creates an instance of the specified type.
Assembly: System (in System.dll)
Parameters
- type
-
Type:
System::Type^
A Type that represents the type to create.
CreateInstance looks for a constructor that takes the specified type. If it finds a constructor, the type of the property is passed in.
Converters and editors use this method to create versions of a component. This method enables a single component to be reused for more than one type.
ReflectionPermission
for access to private class members and metadata. Associated enumeration: Unrestricted
.NET Framework
Available since 1.1
Available since 1.1
Show: