TypeInfo.GetField Method

Definition

Overloads

GetField(String)

C#
public System.Reflection.FieldInfo GetField(string name);

Parameters

name
String

Returns

Applies to

.NET Core 1.1 and other versions
Product Versions
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6

GetField(String, BindingFlags)

C#
public virtual System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr);

Parameters

name
String
bindingAttr
BindingFlags

Returns

Applies to

.NET Core 1.1 and other versions
Product Versions
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6