Telerik® JustMock™ by Progress

Sets the value of a property by name.

Namespace: Telerik.JustMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public void SetProperty(
	string name,
	Object value,
	params Object[] indexArgs
)
Visual Basic
Public Sub SetProperty ( _
	name As String, _
	value As Object, _
	ParamArray indexArgs As Object() _
)

Parameters

name
Type: System..::..String
The name of the property.
value
Type: System..::..Object
The value to set to the property.
indexArgs
Type: array<System..::..Object>[]()[][]
Optional index arguments if the property has any.

See Also