PrivateType.GetStaticField PrivateType.GetStaticField PrivateType.GetStaticField Method

Definition

Overloads

GetStaticField(String) GetStaticField(String) GetStaticField(String)

Gets the static field

GetStaticField(String, BindingFlags) GetStaticField(String, BindingFlags)

Gets the static field using specified InvokeHelper attributes

GetStaticField(String) GetStaticField(String) GetStaticField(String)

Gets the static field

public object GetStaticField (string name);
member this.GetStaticField : string -> obj
Public Function GetStaticField (name As String) As Object

Parameters

name
String String String

Name of the field

Returns

The static field.

GetStaticField(String, BindingFlags) GetStaticField(String, BindingFlags)

Gets the static field using specified InvokeHelper attributes

public object GetStaticField (string name, System.Reflection.BindingFlags bindingFlags);
member this.GetStaticField : string * System.Reflection.BindingFlags -> obj

Parameters

name
String String String

Name of the field

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes

Returns

The static field.

Applies to