Table of Contents

Method GetPropertyValue

Namespace
Alternet.Scripter
Assembly
Alternet.Scripter.v9.dll

GetPropertyValue(IScriptRun, Assembly, string, object, object[])

Returns the property value of a specified object.

public static object GetPropertyValue(IScriptRun scriptRun, Assembly assembly, string property, object obj, object[] index = null)

Parameters

scriptRun IScriptRun

IScriptRun associated this script method.

assembly Assembly

Assembly containing the given object.

property string

The string containing the name of the public property to get.

obj object

The object whose property value will be processed.

index object[]

Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be null for non-indexed properties.

Returns

object

The property value of the specified object.