ConstructorInfo

From Real Software Documentation

Jump to: navigation, search
Class (inherits from MemberInfo)

Contains information about the constructors for a class via the Introspection system.


Properties
IsPrivate IsPublic ReturnType
IsProtected Name


Methods
GetAttributes Invoke
GetParameters


Examples

This example gets the ConstructorInfo for the FolderItem class. The Invoke method is used to create a new instance based on the constructor that takes no parameters.

Dim ti as Introspection.TypeInfo=GetTypeInfo(FolderItem)
Dim ci() as Introspection.ConstructorInfo=ti.GetConstructors

Dim f as FolderItem
f=ci(0).Invoke


See Also

Introspection module; AttributeInfo, MemberInfo, MethodInfo, ObjectIterator, ParameterInfo, PropertyInfo, TypeInfo classes; GetTypeInfo function.

Personal tools