TypeBuilder
cs.system.reflection.MemberInfo → cs.system.Type → cs.system.reflection.emit.TypeBuilder (extern final class)
Implements: cs.system.runtime.interopservices._TypeBuilder
Static Members
UnspecifiedTypeSize: Int
GetConstructor(type: cs.system.Type, constructor: cs.system.reflection.ConstructorInfo): cs.system.reflection.ConstructorInfo
Name | Type |
---|---|
type |
cs.system.Type |
constructor |
cs.system.reflection.ConstructorInfo |
Returns |
---|
cs.system.reflection.ConstructorInfo |
GetMethod(type: cs.system.Type, method: cs.system.reflection.MethodInfo): cs.system.reflection.MethodInfo
Name | Type |
---|---|
type |
cs.system.Type |
method |
cs.system.reflection.MethodInfo |
Returns |
---|
cs.system.reflection.MethodInfo |
GetField(type: cs.system.Type, field: cs.system.reflection.FieldInfo): cs.system.reflection.FieldInfo
Name | Type |
---|---|
type |
cs.system.Type |
field |
cs.system.reflection.FieldInfo |
Returns |
---|
cs.system.reflection.FieldInfo |
Instance Members
DeclaringMethod: cs.system.reflection.MethodBase
GenericParameterPosition: Int
IsGenericType: Bool
IsGenericTypeDefinition: Bool
IsGenericParameter: Bool
ContainsGenericParameters: Bool
TypeToken: TypeToken
TypeHandle: cs.system.RuntimeTypeHandle
ReflectedType: cs.system.Type
Size: Int
Namespace: String
Name: String
Module: cs.system.reflection.Module
GUID: cs.system.Guid
FullName: String
UnderlyingSystemType: cs.system.Type
DeclaringType: cs.system.Type
BaseType: cs.system.Type
AssemblyQualifiedName: String
Assembly: cs.system.reflection.Assembly
Returns |
---|
Anonymous |
IsSubclassOf(c: cs.system.Type): Bool
Name | Type |
---|---|
c |
cs.system.Type |
Returns |
---|
Bool |
AddDeclarativeSecurity(action: Anonymous, pset: cs.system.security.PermissionSet): Void
Name | Type |
---|---|
action |
Anonymous |
pset |
cs.system.security.PermissionSet |
AddInterfaceImplementation(interfaceType: cs.system.Type): Void
Name | Type |
---|---|
interfaceType |
cs.system.Type |
GetConstructorImpl(bindingAttr: Anonymous, binder: cs.system.reflection.Binder, callConvention: Anonymous, types: cs.NativeArray<cs.system.Type>, modifiers: cs.NativeArray<cs.system.reflection.ParameterModifier>): cs.system.reflection.ConstructorInfo
Name | Type |
---|---|
bindingAttr |
Anonymous |
binder |
cs.system.reflection.Binder |
callConvention |
Anonymous |
types |
cs.NativeArray<cs.system.Type> |
modifiers |
cs.NativeArray<cs.system.reflection.ParameterModifier> |
Returns |
---|
cs.system.reflection.ConstructorInfo |
IsDefined(attributeType: cs.system.Type, inherit: Bool): Bool
Name | Type |
---|---|
attributeType |
cs.system.Type |
inherit |
Bool |
Returns |
---|
Bool |
GetCustomAttributes(inherit: Bool): cs.NativeArray<Dynamic>
Name | Type |
---|---|
inherit |
Bool |
Returns |
---|
cs.NativeArray<Dynamic> |
DefineNestedType(name: String): TypeBuilder
Name | Type |
---|---|
name |
String |
Returns |
---|
TypeBuilder |
DefineConstructor(attributes: Anonymous, callingConvention: Anonymous, parameterTypes: cs.NativeArray<cs.system.Type>): ConstructorBuilder
Name | Type |
---|---|
attributes |
Anonymous |
callingConvention |
Anonymous |
parameterTypes |
cs.NativeArray<cs.system.Type> |
Returns |
---|
ConstructorBuilder |
DefineDefaultConstructor(attributes: Anonymous): ConstructorBuilder
Name | Type |
---|---|
attributes |
Anonymous |
Returns |
---|
ConstructorBuilder |
DefineMethod(name: String, attributes: Anonymous, returnType: cs.system.Type, parameterTypes: cs.NativeArray<cs.system.Type>): MethodBuilder
Name | Type |
---|---|
name |
String |
attributes |
Anonymous |
returnType |
cs.system.Type |
parameterTypes |
cs.NativeArray<cs.system.Type> |
Returns |
---|
MethodBuilder |
DefinePInvokeMethod(name: String, dllName: String, entryName: String, attributes: Anonymous, callingConvention: Anonymous, returnType: cs.system.Type, parameterTypes: cs.NativeArray<cs.system.Type>, nativeCallConv: Anonymous, nativeCharSet: Anonymous): MethodBuilder
Name | Type |
---|---|
name |
String |
dllName |
String |
entryName |
String |
attributes |
Anonymous |
callingConvention |
Anonymous |
returnType |
cs.system.Type |
parameterTypes |
cs.NativeArray<cs.system.Type> |
nativeCallConv |
Anonymous |
nativeCharSet |
Anonymous |
Returns |
---|
MethodBuilder |
DefineMethodOverride(methodInfoBody: cs.system.reflection.MethodInfo, methodInfoDeclaration: cs.system.reflection.MethodInfo): Void
Name | Type |
---|---|
methodInfoBody |
cs.system.reflection.MethodInfo |
methodInfoDeclaration |
cs.system.reflection.MethodInfo |
DefineField(fieldName: String, type: cs.system.Type, attributes: Anonymous): FieldBuilder
Name | Type |
---|---|
fieldName |
String |
type |
cs.system.Type |
attributes |
Anonymous |
Returns |
---|
FieldBuilder |
DefineProperty(name: String, attributes: Anonymous, returnType: cs.system.Type, parameterTypes: cs.NativeArray<cs.system.Type>): PropertyBuilder
Name | Type |
---|---|
name |
String |
attributes |
Anonymous |
returnType |
cs.system.Type |
parameterTypes |
cs.NativeArray<cs.system.Type> |
Returns |
---|
PropertyBuilder |
DefineTypeInitializer(): ConstructorBuilder
Returns |
---|
ConstructorBuilder |
CreateType(): cs.system.Type
Returns |
---|
cs.system.Type |
GetConstructors(bindingAttr: Anonymous): cs.NativeArray<cs.system.reflection.ConstructorInfo>
Name | Type |
---|---|
bindingAttr |
Anonymous |
Returns |
---|
cs.NativeArray<cs.system.reflection.ConstructorInfo> |
GetElementType(): cs.system.Type
Returns |
---|
cs.system.Type |
GetEvent(name: String, bindingAttr: Anonymous): cs.system.reflection.EventInfo
Name | Type |
---|---|
name |
String |
bindingAttr |
Anonymous |
Returns |
---|
cs.system.reflection.EventInfo |
GetEvents(): cs.NativeArray<cs.system.reflection.EventInfo>
Returns |
---|
cs.NativeArray<cs.system.reflection.EventInfo> |
GetField(name: String, bindingAttr: Anonymous): cs.system.reflection.FieldInfo
Name | Type |
---|---|
name |
String |
bindingAttr |
Anonymous |
Returns |
---|
cs.system.reflection.FieldInfo |
GetFields(bindingAttr: Anonymous): cs.NativeArray<cs.system.reflection.FieldInfo>
Name | Type |
---|---|
bindingAttr |
Anonymous |
Returns |
---|
cs.NativeArray<cs.system.reflection.FieldInfo> |
GetInterface(name: String, ignoreCase: Bool): cs.system.Type
Name | Type |
---|---|
name |
String |
ignoreCase |
Bool |
Returns |
---|
cs.system.Type |
GetInterfaces(): cs.NativeArray<cs.system.Type>
Returns |
---|
cs.NativeArray<cs.system.Type> |
GetMember(name: String, type: Anonymous, bindingAttr: Anonymous): cs.NativeArray<cs.system.reflection.MemberInfo>
Name | Type |
---|---|
name |
String |
type |
Anonymous |
bindingAttr |
Anonymous |
Returns |
---|
cs.NativeArray<cs.system.reflection.MemberInfo> |
GetMembers(bindingAttr: Anonymous): cs.NativeArray<cs.system.reflection.MemberInfo>
Name | Type |
---|---|
bindingAttr |
Anonymous |
Returns |
---|
cs.NativeArray<cs.system.reflection.MemberInfo> |
GetMethods(bindingAttr: Anonymous): cs.NativeArray<cs.system.reflection.MethodInfo>
Name | Type |
---|---|
bindingAttr |
Anonymous |
Returns |
---|
cs.NativeArray<cs.system.reflection.MethodInfo> |
GetMethodImpl(name: String, bindingAttr: Anonymous, binder: cs.system.reflection.Binder, callConvention: Anonymous, types: cs.NativeArray<cs.system.Type>, modifiers: cs.NativeArray<cs.system.reflection.ParameterModifier>): cs.system.reflection.MethodInfo
Name | Type |
---|---|
name |
String |
bindingAttr |
Anonymous |
binder |
cs.system.reflection.Binder |
callConvention |
Anonymous |
types |
cs.NativeArray<cs.system.Type> |
modifiers |
cs.NativeArray<cs.system.reflection.ParameterModifier> |
Returns |
---|
cs.system.reflection.MethodInfo |
GetNestedType(name: String, bindingAttr: Anonymous): cs.system.Type
Name | Type |
---|---|
name |
String |
bindingAttr |
Anonymous |
Returns |
---|
cs.system.Type |
GetNestedTypes(bindingAttr: Anonymous): cs.NativeArray<cs.system.Type>
Name | Type |
---|---|
bindingAttr |
Anonymous |
Returns |
---|
cs.NativeArray<cs.system.Type> |
GetProperties(bindingAttr: Anonymous): cs.NativeArray<cs.system.reflection.PropertyInfo>
Name | Type |
---|---|
bindingAttr |
Anonymous |
Returns |
---|
cs.NativeArray<cs.system.reflection.PropertyInfo> |
GetPropertyImpl(name: String, bindingAttr: Anonymous, binder: cs.system.reflection.Binder, returnType: cs.system.Type, types: cs.NativeArray<cs.system.Type>, modifiers: cs.NativeArray<cs.system.reflection.ParameterModifier>): cs.system.reflection.PropertyInfo
Name | Type |
---|---|
name |
String |
bindingAttr |
Anonymous |
binder |
cs.system.reflection.Binder |
returnType |
cs.system.Type |
types |
cs.NativeArray<cs.system.Type> |
modifiers |
cs.NativeArray<cs.system.reflection.ParameterModifier> |
Returns |
---|
cs.system.reflection.PropertyInfo |
HasElementTypeImpl(): Bool
Returns |
---|
Bool |
InvokeMember(name: String, invokeAttr: Anonymous, binder: cs.system.reflection.Binder, target: Dynamic, args: cs.NativeArray<Dynamic>, modifiers: cs.NativeArray<cs.system.reflection.ParameterModifier>, culture: cs.system.globalization.CultureInfo, namedParameters: cs.NativeArray<String>): Dynamic
Name | Type |
---|---|
name |
String |
invokeAttr |
Anonymous |
binder |
cs.system.reflection.Binder |
target |
Dynamic |
args |
cs.NativeArray<Dynamic> |
modifiers |
cs.NativeArray<cs.system.reflection.ParameterModifier> |
culture |
cs.system.globalization.CultureInfo |
namedParameters |
cs.NativeArray<String> |
Returns |
---|
Dynamic |
IsArrayImpl(): Bool
Returns |
---|
Bool |
IsByRefImpl(): Bool
Returns |
---|
Bool |
IsCOMObjectImpl(): Bool
Returns |
---|
Bool |
IsPointerImpl(): Bool
Returns |
---|
Bool |
IsPrimitiveImpl(): Bool
Returns |
---|
Bool |
IsValueTypeImpl(): Bool
Returns |
---|
Bool |
MakeArrayType(): cs.system.Type
Returns |
---|
cs.system.Type |
MakeByRefType(): cs.system.Type
Returns |
---|
cs.system.Type |
MakeGenericType(typeArguments: cs.NativeArray<cs.system.Type>): cs.system.Type
Name | Type |
---|---|
typeArguments |
cs.NativeArray<cs.system.Type> |
Returns |
---|
cs.system.Type |
MakePointerType(): cs.system.Type
Returns |
---|
cs.system.Type |
SetCustomAttribute(customBuilder: CustomAttributeBuilder): Void
Name | Type |
---|---|
customBuilder |
CustomAttributeBuilder |
DefineEvent(name: String, attributes: Anonymous, eventtype: cs.system.Type): EventBuilder
Name | Type |
---|---|
name |
String |
attributes |
Anonymous |
eventtype |
cs.system.Type |
Returns |
---|
EventBuilder |
DefineInitializedData(name: String, data: cs.NativeArray<cs.types.UInt8>, attributes: Anonymous): FieldBuilder
Name | Type |
---|---|
name |
String |
data |
cs.NativeArray<cs.types.UInt8> |
attributes |
Anonymous |
Returns |
---|
FieldBuilder |
DefineUninitializedData(name: String, size: Int, attributes: Anonymous): FieldBuilder
Name | Type |
---|---|
name |
String |
size |
Int |
attributes |
Anonymous |
Returns |
---|
FieldBuilder |
SetParent(parent: cs.system.Type): Void
Name | Type |
---|---|
parent |
cs.system.Type |
GetInterfaceMap(interfaceType: cs.system.Type): cs.system.reflection.InterfaceMapping
Name | Type |
---|---|
interfaceType |
cs.system.Type |
Returns |
---|
cs.system.reflection.InterfaceMapping |
ToString(): String
Returns |
---|
String |
IsAssignableFrom(c: cs.system.Type): Bool
Name | Type |
---|---|
c |
cs.system.Type |
Returns |
---|
Bool |
IsCreated(): Bool
Returns |
---|
Bool |
GetGenericArguments(): cs.NativeArray<cs.system.Type>
Returns |
---|
cs.NativeArray<cs.system.Type> |
GetGenericTypeDefinition(): cs.system.Type
Returns |
---|
cs.system.Type |
DefineGenericParameters(names: cs.NativeArray<String>): cs.NativeArray<GenericTypeParameterBuilder>
Name | Type |
---|---|
names |
cs.NativeArray<String> |
Returns |
---|
cs.NativeArray<GenericTypeParameterBuilder> |
Metadata
Name | Parameters |
---|---|
:nativeGen |
- |
:libType |
- |
:csNative |
- |