W3cubDocs

/Haxe C#

Type

package cs.system

extends MemberInfo

implements IReflect, _Type

extended by EnumBuilder, GenericTypeParameterBuilder, TypeBuilder

@:abstract@:libType@:csNative@:native("System.Type") Available on cs

Variables

read only Assembly:Assembly

read only AssemblyQualifiedName:String

read only Attributes:TypeAttributes

read only BaseType:Type

read only ContainsGenericParameters:Bool

read only DeclaringMethod:MethodBase

read only FullName:String

read only GUID:Guid

read only GenericParameterAttributes:GenericParameterAttributes

read only GenericParameterPosition:Int

read only HasElementType:Bool

read only IsAbstract:Bool

read only IsAnsiClass:Bool

read only IsArray:Bool

read only IsAutoClass:Bool

read only IsAutoLayout:Bool

read only IsByRef:Bool

read only IsCOMObject:Bool

read only IsClass:Bool

read only IsContextful:Bool

read only IsEnum:Bool

read only IsExplicitLayout:Bool

read only IsGenericParameter:Bool

read only IsGenericType:Bool

read only IsGenericTypeDefinition:Bool

read only IsImport:Bool

read only IsInterface:Bool

read only IsLayoutSequential:Bool

read only IsMarshalByRef:Bool

read only IsNested:Bool

read only IsNestedAssembly:Bool

read only IsNestedFamANDAssem:Bool

read only IsNestedFamORAssem:Bool

read only IsNestedFamily:Bool

read only IsNestedPrivate:Bool

read only IsNestedPublic:Bool

read only IsNotPublic:Bool

read only IsPointer:Bool

read only IsPrimitive:Bool

read only IsPublic:Bool

read only IsSealed:Bool

read only IsSerializable:Bool

read only IsSpecialName:Bool

read only IsUnicodeClass:Bool

read only IsValueType:Bool

read only IsVisible:Bool

read only Namespace:String

read only StructLayoutAttribute:StructLayoutAttribute

read only TypeHandle:RuntimeTypeHandle

read only TypeInitializer:ConstructorInfo

read only UnderlyingSystemType:Type

Methods

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

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

@:overload GetArrayRank ():Int

@:final @:overload GetConstructor (types:NativeArray<Type>):ConstructorInfo

@:final @:overload GetConstructor (bindingAttr:BindingFlags, binder:Binder, callConvention:CallingConventions, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):ConstructorInfo

@:final @:overload GetConstructor (bindingAttr:BindingFlags, binder:Binder, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):ConstructorInfo

@:final @:overload GetConstructors ():NativeArray<ConstructorInfo>

@:overload GetConstructors (bindingAttr:BindingFlags):NativeArray<ConstructorInfo>

@:overload GetDefaultMembers ():NativeArray<MemberInfo>

@:overload GetElementType ():Type

@:final @:overload GetEvent (name:String):EventInfo

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

@:overload GetEvents ():NativeArray<EventInfo>

@:overload GetEvents (bindingAttr:BindingFlags):NativeArray<EventInfo>

@:final @:overload GetField (name:String):FieldInfo

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

@:final @:overload GetFields ():NativeArray<FieldInfo>

@:overload GetFields (bindingAttr:BindingFlags):NativeArray<FieldInfo>

@:overload GetGenericArguments ():NativeArray<Type>

@:overload GetGenericParameterConstraints ():NativeArray<Type>

@:overload GetGenericTypeDefinition ():Type

@:final @:overload GetInterface (name:String):Type

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

@:overload GetInterfaceMap (interfaceType:Type):InterfaceMapping

@:overload GetInterfaces ():NativeArray<Type>

@:final @:overload GetMember (name:String):NativeArray<MemberInfo>

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

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

@:final @:overload GetMembers ():NativeArray<MemberInfo>

@:overload GetMembers (bindingAttr:BindingFlags):NativeArray<MemberInfo>

@:final @:overload GetMethod (name:String):MethodInfo

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

@:final @:overload GetMethod (name:String, bindingAttr:BindingFlags, binder:Binder, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):MethodInfo

@:final @:overload GetMethod (name:String, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):MethodInfo

@:final @:overload GetMethod (name:String, types:NativeArray<Type>):MethodInfo

@:final @:overload GetMethod (name:String, bindingAttr:BindingFlags):MethodInfo

@:final @:overload GetMethods ():NativeArray<MethodInfo>

@:overload GetMethods (bindingAttr:BindingFlags):NativeArray<MethodInfo>

@:final @:overload GetNestedType (name:String):Type

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

@:final @:overload GetNestedTypes ():NativeArray<Type>

@:overload GetNestedTypes (bindingAttr:BindingFlags):NativeArray<Type>

@:final @:overload GetProperties ():NativeArray<PropertyInfo>

@:overload GetProperties (bindingAttr:BindingFlags):NativeArray<PropertyInfo>

@:final @:overload GetProperty (name:String):PropertyInfo

@:final @:overload GetProperty (name:String, bindingAttr:BindingFlags, binder:Binder, returnType:Type, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):PropertyInfo

@:final @:overload GetProperty (name:String, returnType:Type, types:NativeArray<Type>, modifiers:NativeArray<ParameterModifier>):PropertyInfo

@:final @:overload GetProperty (name:String, returnType:Type, types:NativeArray<Type>):PropertyInfo

@:final @:overload GetProperty (name:String, types:NativeArray<Type>):PropertyInfo

@:final @:overload GetProperty (name:String, returnType:Type):PropertyInfo

@:final @:overload GetProperty (name:String, bindingAttr:BindingFlags):PropertyInfo

@:final @:overload GetType ():Type

@:final @:overload InvokeMember (name:String, invokeAttr:BindingFlags, binder:Binder, target:Dynamic, args:NativeArray<Dynamic>):Dynamic

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

@:final @:overload InvokeMember (name:String, invokeAttr:BindingFlags, binder:Binder, target:Dynamic, args:NativeArray<Dynamic>, culture:CultureInfo):Dynamic

@:overload IsAssignableFrom (c:Type):Bool

@:overload IsInstanceOfType (o:Dynamic):Bool

@:overload IsSubclassOf (c:Type):Bool

@:overload MakeArrayType ():Type

@:overload MakeArrayType (rank:Int):Type

@:overload MakeByRefType ():Type

@:overload MakeGenericType (typeArguments:NativeArray<Type>):Type

@:overload MakePointerType ():Type

Static variables

static read only DefaultBinder:Binder

@:readOnly static read only Delimiter:Char16

@:readOnly static read only EmptyTypes:NativeArray<Type>

@:readOnly static read only FilterAttribute:MemberFilter

@:readOnly static read only FilterName:MemberFilter

@:readOnly static read only FilterNameIgnoreCase:MemberFilter

@:readOnly static read only Missing:Dynamic

Static methods

@:final @:overload static GetType (typeName:String):Type

@:final @:overload static GetType (typeName:String, throwOnError:Bool, ignoreCase:Bool):Type

@:final @:overload static GetType (typeName:String, throwOnError:Bool):Type

@:final @:overload static GetTypeArray (args:NativeArray<Dynamic>):NativeArray<Type>

@:final @:overload static GetTypeCode (type:Type):TypeCode

@:final @:overload static GetTypeFromCLSID (clsid:Guid):Type

@:final @:overload static GetTypeFromCLSID (clsid:Guid, server:String, throwOnError:Bool):Type

@:final @:overload static GetTypeFromCLSID (clsid:Guid, server:String):Type

@:final @:overload static GetTypeFromCLSID (clsid:Guid, throwOnError:Bool):Type

@:final @:overload static GetTypeFromHandle (handle:RuntimeTypeHandle):Type

@:final @:overload static GetTypeFromProgID (progID:String):Type

@:final @:overload static GetTypeFromProgID (progID:String, server:String, throwOnError:Bool):Type

@:final @:overload static GetTypeFromProgID (progID:String, server:String):Type

@:final @:overload static GetTypeFromProgID (progID:String, throwOnError:Bool):Type

@:final @:overload static GetTypeHandle (o:Dynamic):RuntimeTypeHandle

@:final @:overload static ReflectionOnlyGetType (typeName:String, throwIfNotFound:Bool, ignoreCase:Bool):Type

@:native("GetType") @:final @:overload static _GetType (typeName:String):Type

@:native("GetType") @:final @:overload static GetType (typeName:String, throwOnError:Bool, ignoreCase:Bool):Type

@:native("GetType") @:final @:overload static GetType (typeName:String, throwOnError:Bool):Type

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