OpenTypeMethods.GetValue(Object, String) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.