PrivateType.GetStaticProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetStaticProperty(String, Object[]) |
Gets the static property |
GetStaticProperty(String, BindingFlags, Object[]) |
Gets the static property |
GetStaticProperty(String, BindingFlags, Type[], Object[]) |
Gets the static property |
GetStaticProperty(String, Object[])
Gets the static property
public:
System::Object ^ GetStaticProperty(System::String ^ name, ... cli::array <System::Object ^> ^ args);
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
Name of the field or property
- args
- Object[]
Arguments to the invocation
Returns
The static property.
Applies to
GetStaticProperty(String, BindingFlags, Object[])
Gets the static property
public:
System::Object ^ GetStaticProperty(System::String ^ name, System::Reflection::BindingFlags bindingFlags, ... cli::array <System::Object ^> ^ args);
public object GetStaticProperty (string name, System.Reflection.BindingFlags bindingFlags, params object[] args);
member this.GetStaticProperty : string * System.Reflection.BindingFlags * obj[] -> obj
Public Function GetStaticProperty (name As String, bindingFlags As BindingFlags, ParamArray args As Object()) As Object
Parameters
- name
- String
Name of the property
- bindingFlags
- BindingFlags
Additional invocation attributes.
- args
- Object[]
Arguments to pass to the member to invoke.
Returns
The static property.
Applies to
GetStaticProperty(String, BindingFlags, Type[], Object[])
Gets the static property
public:
System::Object ^ GetStaticProperty(System::String ^ name, System::Reflection::BindingFlags bindingFlags, cli::array <Type ^> ^ parameterTypes, cli::array <System::Object ^> ^ args);
public object GetStaticProperty (string name, System.Reflection.BindingFlags bindingFlags, Type[] parameterTypes, object[] args);
member this.GetStaticProperty : string * System.Reflection.BindingFlags * Type[] * obj[] -> obj
Public Function GetStaticProperty (name As String, bindingFlags As BindingFlags, parameterTypes As Type(), args As Object()) As Object
Parameters
- name
- String
Name of the property
- 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.