Skip to main content

Definition

Assembly: System.Private.CoreLib.dll Namespace: System

Syntax

object

Summary

This type is defined in System.Private.CoreLib.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

GetFieldValue Extension

Extension method from System.Breakdance_Assemblies_ObjectExtensions

Syntax

public static object GetFieldValue(object obj, string fieldName, bool throwIfNull = true)

Parameters

NameTypeDescription
objobject-
fieldNamestring-
throwIfNullbool-

Returns

Type: object

GetPropertyValue Extension

Extension method from System.Breakdance_Assemblies_ObjectExtensions

Syntax

public static object GetPropertyValue(object obj, string propertyName, bool throwIfNull = true)

Parameters

NameTypeDescription
objobject-
propertyNamestring-
throwIfNullbool-

Returns

Type: object

SetFieldValue Extension

Extension method from System.Breakdance_Assemblies_ObjectExtensions

Syntax

public static void SetFieldValue(object obj, string fieldName, object val)

Parameters

NameTypeDescription
objobject-
fieldNamestring-
valobject-

SetPropertyValue Extension

Extension method from System.Breakdance_Assemblies_ObjectExtensions

Syntax

public static void SetPropertyValue(object obj, string propertyName, object val)

Parameters

NameTypeDescription
objobject-
propertyNamestring-
valobject-