IUpdatable.GetValue(Object, String) Method

Definition

Gets the value of the specified property on the target object.

C#
public object GetValue(object targetResource, string propertyName);

Parameters

targetResource
Object

An opaque object that represents a resource.

propertyName
String

The name of the property whose value needs to be retrieved.

Returns

The value of the object.

Remarks

This method is called for scalar properties or complex properties. For a scalar property, the returned object should be the actual value.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1