IUpdatable.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 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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.