> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Object

> Extension methods for Object from System.Private.CoreLib

## Definition

**Assembly:** System.Private.CoreLib.dll

**Namespace:** System

## Syntax

```csharp theme={"dark"}
object
```

## Summary

This type is defined in System.Private.CoreLib.

## Remarks

See [Microsoft documentation](https://learn.microsoft.com/dotnet/api/system.object) for more information about the rest of the API.

## Methods

### &#x20;GetFieldValue Extension

> [!NOTE]
>
> Extension method from `System.Breakdance_Assemblies_ObjectExtensions`

#### Syntax

```csharp theme={"dark"}
public static object GetFieldValue(object obj, string fieldName, bool throwIfNull = true)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object` | - |
| `fieldName` | `string` | - |
| `throwIfNull` | `bool` | - |

#### Returns

Type: `object`

### &#x20;GetPropertyValue Extension

> [!NOTE]
>
> Extension method from `System.Breakdance_Assemblies_ObjectExtensions`

#### Syntax

```csharp theme={"dark"}
public static object GetPropertyValue(object obj, string propertyName, bool throwIfNull = true)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object` | - |
| `propertyName` | `string` | - |
| `throwIfNull` | `bool` | - |

#### Returns

Type: `object`

### &#x20;SetFieldValue Extension

> [!NOTE]
>
> Extension method from `System.Breakdance_Assemblies_ObjectExtensions`

#### Syntax

```csharp theme={"dark"}
public static void SetFieldValue(object obj, string fieldName, object val)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object` | - |
| `fieldName` | `string` | - |
| `val` | `object` | - |

### &#x20;SetPropertyValue Extension

> [!NOTE]
>
> Extension method from `System.Breakdance_Assemblies_ObjectExtensions`

#### Syntax

```csharp theme={"dark"}
public static void SetPropertyValue(object obj, string propertyName, object val)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object` | - |
| `propertyName` | `string` | - |
| `val` | `object` | - |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.