W3cubDocs

/Haxe C#

FieldInfo

package cs.system.reflection

extends MemberInfo

implements _FieldInfo

extended by FieldBuilder

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

Variables

read only Attributes:FieldAttributes

read only FieldHandle:RuntimeFieldHandle

read only FieldType:Type

read only IsAssembly:Bool

read only IsFamily:Bool

read only IsFamilyAndAssembly:Bool

read only IsFamilyOrAssembly:Bool

read only IsInitOnly:Bool

read only IsLiteral:Bool

read only IsNotSerialized:Bool

read only IsPinvokeImpl:Bool

read only IsPrivate:Bool

read only IsPublic:Bool

read only IsSpecialName:Bool

read only IsStatic:Bool

Methods

@:overload GetOptionalCustomModifiers ():NativeArray<Type>

@:overload GetRawConstantValue ():Dynamic

@:overload GetRequiredCustomModifiers ():NativeArray<Type>

@:overload GetValue (obj:Dynamic):Dynamic

@:overload GetValueDirect (obj:TypedReference):Dynamic

@:overload SetValue (obj:Dynamic, value:Dynamic, invokeAttr:BindingFlags, binder:Binder, culture:CultureInfo):Void

@:final @:overload SetValue (obj:Dynamic, value:Dynamic):Void

@:overload SetValueDirect (obj:TypedReference, value:Dynamic):Void

Static methods

@:final @:overload static GetFieldFromHandle (handle:RuntimeFieldHandle):FieldInfo

@:final @:overload static GetFieldFromHandle (handle:RuntimeFieldHandle, declaringType:RuntimeTypeHandle):FieldInfo

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