PrivateType.GetStaticFieldOrProperty PrivateType.GetStaticFieldOrProperty PrivateType.GetStaticFieldOrProperty Method

Definition

Overloads

GetStaticFieldOrProperty(String) GetStaticFieldOrProperty(String) GetStaticFieldOrProperty(String)

Gets the static field or property

GetStaticFieldOrProperty(String, BindingFlags) GetStaticFieldOrProperty(String, BindingFlags)

Gets the static field or property using specified InvokeHelper attributes

GetStaticFieldOrProperty(String) GetStaticFieldOrProperty(String) GetStaticFieldOrProperty(String)

Gets the static field or property

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

Parameters

name
String String String

Name of the field or property

Returns

The static field or property.

GetStaticFieldOrProperty(String, BindingFlags) GetStaticFieldOrProperty(String, BindingFlags)

Gets the static field or property using specified InvokeHelper attributes

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

Parameters

name
String String String

Name of the field or property

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes

Returns

The static field or property.

Applies to