OpenTypeMethods.GetValue(Object, String) Method

Definition

Gets a value from the specified property of a specified object.

public:
 static System::Object ^ GetValue(System::Object ^ value, System::String ^ propertyName);
public static object GetValue (object value, string propertyName);
static member GetValue : obj * string -> obj
Public Shared Function GetValue (value As Object, propertyName As String) As Object

Parameters

value
Object

Object from which to get the property value.

propertyName
String

Name of property from which to get the value.

Returns

The requested value; null if the value cannot be determined.

Applies to