Edit

Share via


IUpdatable.GetValue(Object, String) Method

Definition

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

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

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