Reflection4.

GetField(Type, string) Method

Syntax

public static FieldInfo GetField(Type clazz, string name)

Parameters

Name Type Description
clazz Type
name string

Return Value

Type Description
FieldInfo