ConstructorInfo

From Xojo Documentation
Jump to: navigation, search

Class (inherits from MemberInfo)

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


Properties
IsPrivate IsPublic
IsProtected Name


Methods
GetAttributes GetParameters Invoke


Examples

This example uses the Invoke method to call the FolderItem 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
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About