Type

package cs.system

extends MemberInfo

implements IReflect, _Type

extended by EnumBuilder, GenericTypeParameterBuilder, TypeBuilder

Available on cs

Static variables

staticread onlyDefaultBinder:Binder

staticread onlyDelimiter:Char16

staticread onlyEmptyTypes:NativeArray<Type>

staticread onlyFilterAttribute:MemberFilter

staticread onlyFilterName:MemberFilter

staticread onlyFilterNameIgnoreCase:MemberFilter

staticread onlyMissing:Dynamic

Static methods

staticGetType(typeName:String):Type

staticGetType(typeName:String, throwOnError:Bool, ignoreCase:Bool):Type

staticGetType(typeName:String, throwOnError:Bool):Type

staticGetTypeArray(args:NativeArray<Dynamic>):NativeArray<Type>

staticGetTypeCode(type:Type):TypeCode

staticGetTypeFromCLSID(clsid:Guid):Type

staticGetTypeFromCLSID(clsid:Guid, server:String, throwOnError:Bool):Type

staticGetTypeFromCLSID(clsid:Guid, server:String):Type

staticGetTypeFromCLSID(clsid:Guid, throwOnError:Bool):Type

staticGetTypeFromHandle(handle:RuntimeTypeHandle):Type

staticGetTypeFromProgID(progID:String):Type

staticGetTypeFromProgID(progID:String, server:String, throwOnError:Bool):Type

staticGetTypeFromProgID(progID:String, server:String):Type

staticGetTypeFromProgID(progID:String, throwOnError:Bool):Type

staticGetTypeHandle(o:Dynamic):RuntimeTypeHandle

staticReflectionOnlyGetType(typeName:String, throwIfNotFound:Bool, ignoreCase:Bool):Type

static_GetType(typeName:String):Type

staticGetType(typeName:String, throwOnError:Bool, ignoreCase:Bool):Type

staticGetType(typeName:String, throwOnError:Bool):Type

Variables

read onlyAssembly:Assembly

read onlyAssemblyQualifiedName:String

read onlyAttributes:TypeAttributes

read onlyBaseType:Type

read onlyContainsGenericParameters:Bool

read onlyDeclaringMethod:MethodBase

read onlyFullName:String

read onlyGUID:Guid

read onlyGenericParameterAttributes:GenericParameterAttributes

read onlyGenericParameterPosition:Int

read onlyHasElementType:Bool

read onlyIsAbstract:Bool

read onlyIsAnsiClass:Bool

read onlyIsArray:Bool

read onlyIsAutoClass:Bool

read onlyIsAutoLayout:Bool

read onlyIsByRef:Bool

read onlyIsCOMObject:Bool

read onlyIsClass:Bool

read onlyIsContextful:Bool

read onlyIsEnum:Bool

read onlyIsExplicitLayout:Bool

read onlyIsGenericParameter:Bool

read onlyIsGenericType:Bool

read onlyIsGenericTypeDefinition:Bool

read onlyIsImport:Bool

read onlyIsInterface:Bool

read onlyIsLayoutSequential:Bool

read onlyIsMarshalByRef:Bool

read onlyIsNested:Bool

read onlyIsNestedAssembly:Bool

read onlyIsNestedFamANDAssem:Bool

read onlyIsNestedFamORAssem:Bool

read onlyIsNestedFamily:Bool

read onlyIsNestedPrivate:Bool

read onlyIsNestedPublic:Bool

read onlyIsNotPublic:Bool

read onlyIsPointer:Bool

read onlyIsPrimitive:Bool

read onlyIsPublic:Bool

read onlyIsSealed:Bool

read onlyIsSerializable:Bool

read onlyIsSpecialName:Bool

read onlyIsUnicodeClass:Bool

read onlyIsValueType:Bool

read onlyIsVisible:Bool

read onlyNamespace:String

read onlyStructLayoutAttribute:StructLayoutAttribute

read onlyTypeHandle:RuntimeTypeHandle

read onlyTypeInitializer:ConstructorInfo

read onlyUnderlyingSystemType:Type

Methods

FindInterfaces(filter:TypeFilter, filterCriteria:Dynamic):NativeArray<Type>

FindMembers(memberType:MemberTypes, bindingAttr:BindingFlags, filter:MemberFilter, filterCriteria:Dynamic):NativeArray<MemberInfo>

GetArrayRank():Int

finalGetConstructor(types:NativeArray<Type>):ConstructorInfo

finalGetConstructor(bindingAttr:BindingFlags, binder:Binder, callConvention:CallingConventions, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):ConstructorInfo

finalGetConstructor(bindingAttr:BindingFlags, binder:Binder, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):ConstructorInfo

finalGetConstructors():NativeArray<ConstructorInfo>

GetConstructors(bindingAttr:BindingFlags):NativeArray<ConstructorInfo>

GetDefaultMembers():NativeArray<MemberInfo>

GetElementType():Type

finalGetEvent(name:String):EventInfo

GetEvent(name:String, bindingAttr:BindingFlags):EventInfo

GetEvents():NativeArray<EventInfo>

GetEvents(bindingAttr:BindingFlags):NativeArray<EventInfo>

finalGetField(name:String):FieldInfo

GetField(name:String, bindingAttr:BindingFlags):FieldInfo

finalGetFields():NativeArray<FieldInfo>

GetFields(bindingAttr:BindingFlags):NativeArray<FieldInfo>

GetGenericArguments():NativeArray<Type>

GetGenericParameterConstraints():NativeArray<Type>

GetGenericTypeDefinition():Type

finalGetInterface(name:String):Type

GetInterface(name:String, ignoreCase:Bool):Type

GetInterfaceMap(interfaceType:Type):InterfaceMapping

GetInterfaces():NativeArray<Type>

finalGetMember(name:String):NativeArray<MemberInfo>

GetMember(name:String, type:MemberTypes, bindingAttr:BindingFlags):NativeArray<MemberInfo>

GetMember(name:String, bindingAttr:BindingFlags):NativeArray<MemberInfo>

finalGetMembers():NativeArray<MemberInfo>

GetMembers(bindingAttr:BindingFlags):NativeArray<MemberInfo>

finalGetMethod(name:String):MethodInfo

finalGetMethod(name:String, bindingAttr:BindingFlags, binder:Binder, callConvention:CallingConventions, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):MethodInfo

finalGetMethod(name:String, bindingAttr:BindingFlags, binder:Binder, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):MethodInfo

finalGetMethod(name:String, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):MethodInfo

finalGetMethod(name:String, types:NativeArray<Type>):MethodInfo

finalGetMethod(name:String, bindingAttr:BindingFlags):MethodInfo

finalGetMethods():NativeArray<MethodInfo>

GetMethods(bindingAttr:BindingFlags):NativeArray<MethodInfo>

finalGetNestedType(name:String):Type

GetNestedType(name:String, bindingAttr:BindingFlags):Type

finalGetNestedTypes():NativeArray<Type>

GetNestedTypes(bindingAttr:BindingFlags):NativeArray<Type>

finalGetProperties():NativeArray<PropertyInfo>

GetProperties(bindingAttr:BindingFlags):NativeArray<PropertyInfo>

finalGetProperty(name:String):PropertyInfo

finalGetProperty(name:String, bindingAttr:BindingFlags, binder:Binder, returnType:Type, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):PropertyInfo

finalGetProperty(name:String, returnType:Type, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):PropertyInfo

finalGetProperty(name:String, returnType:Type, types:NativeArray<Type>):PropertyInfo

finalGetProperty(name:String, types:NativeArray<Type>):PropertyInfo

finalGetProperty(name:String, returnType:Type):PropertyInfo

finalGetProperty(name:String, bindingAttr:BindingFlags):PropertyInfo

finalGetType():Type

finalInvokeMember(name:String, invokeAttr:BindingFlags, binder:Binder, target:Dynamic, args:NativeArray<Dynamic>):Dynamic

InvokeMember(name:String, invokeAttr:BindingFlags, binder:Binder, target:Dynamic, args:NativeArray<Dynamic>, modifiers:NativeArray<ParameterModifier>, culture:CultureInfo, namedParameters:NativeArray<String>):Dynamic

finalInvokeMember(name:String, invokeAttr:BindingFlags, binder:Binder, target:Dynamic, args:NativeArray<Dynamic>, culture:CultureInfo):Dynamic

IsAssignableFrom(c:Type):Bool

IsInstanceOfType(o:Dynamic):Bool

IsSubclassOf(c:Type):Bool

MakeArrayType():Type

MakeArrayType(rank:Int):Type

MakeByRefType():Type

MakeGenericType(typeArguments:NativeArray<Type>):Type

MakePointerType():Type

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/Type.html