FieldAccessorGetAccessor Method

Gets a FieldAccessor for the specified field.

Definition

Namespace: KGySoft.Reflection
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public static FieldAccessor GetAccessor(
	FieldInfo field
)

Parameters

field  FieldInfo
The field for which the accessor should be retrieved.

Return Value

FieldAccessor
A FieldAccessor instance that can be used to get or set the field.

See Also