PrivateType.GetStaticProperty PrivateType.GetStaticProperty PrivateType.GetStaticProperty Method

Definition

Overloads

GetStaticProperty(String, Object[]) GetStaticProperty(String, Object[]) GetStaticProperty(String, Object[])

Gets the static property

GetStaticProperty(String, BindingFlags, Object[]) GetStaticProperty(String, BindingFlags, Object[])

Gets the static property

GetStaticProperty(String, BindingFlags, Type[], Object[]) GetStaticProperty(String, BindingFlags, Type[], Object[])

Gets the static property

GetStaticProperty(String, Object[]) GetStaticProperty(String, Object[]) GetStaticProperty(String, Object[])

Gets the static property

public object GetStaticProperty (string name, params object[] args);
member this.GetStaticProperty : string * obj[] -> obj
Public Function GetStaticProperty (name As String, ParamArray args As Object()) As Object

Parameters

name
String String String

Name of the field or property

args
Object[]

Arguements to the invocation

Returns

The static property.

GetStaticProperty(String, BindingFlags, Object[]) GetStaticProperty(String, BindingFlags, Object[])

Gets the static property

public object GetStaticProperty (string name, System.Reflection.BindingFlags bindingFlags, params object[] args);
member this.GetStaticProperty : string * System.Reflection.BindingFlags * obj[] -> obj

Parameters

name
String String String

Name of the property

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes.

args
Object[]

Arguments to pass to the member to invoke.

Returns

The static property.

GetStaticProperty(String, BindingFlags, Type[], Object[]) GetStaticProperty(String, BindingFlags, Type[], Object[])

Gets the static property

public object GetStaticProperty (string name, System.Reflection.BindingFlags bindingFlags, Type[] parameterTypes, object[] args);
member this.GetStaticProperty : string * System.Reflection.BindingFlags * Type[] * obj[] -> obj

Parameters

name
String String String

Name of the property

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional invocation attributes.

parameterTypes
Type[]

An array of Type objects representing the number, order, and type of the parameters for the indexed property.

args
Object[]

Arguments to pass to the member to invoke.

Returns

The static property.

Applies to