justmock-docs/api/m_telerik_justmock_privatea...

2.1 KiB

title page_title description previous_url slug published fullPath category
SetField Method SetField Method | JustMock Documentation Documentation page about SetField Method . /m_telerik_justmock_privateaccessor_setfield.html m_telerik_justmock_privateaccessor_setfield True api/n_telerik_justmock/t_telerik_justmock_privateaccessor/methods_t_telerik_justmock_privateaccessor/m_telerik_justmock_privateaccessor_setfield api

PrivateAccessor.SetField Method

Sets the value of a field.

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

Syntax

C#
public void SetField(
	string name,
	Object value
)
Visual Basic
Public Sub SetField ( _
	name As String, _
	value As Object _
)

name

Type: System.String
The name of the field.

value

Type: System.Object
The new value of the field.

See Also

PrivateAccessor Class

PrivateAccessor Members

Telerik.JustMock Namespace