> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/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

### <Icon icon="puzzle-piece" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetFieldValue <Badge color="green">Extension</Badge>

<Note>Extension method from `System.Breakdance_Assemblies_ObjectExtensions`</Note>

#### 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`

### <Icon icon="puzzle-piece" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetPropertyValue <Badge color="green">Extension</Badge>

<Note>Extension method from `System.Breakdance_Assemblies_ObjectExtensions`</Note>

#### 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`

### <Icon icon="puzzle-piece" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> SetFieldValue <Badge color="green">Extension</Badge>

<Note>Extension method from `System.Breakdance_Assemblies_ObjectExtensions`</Note>

#### Syntax

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

#### Parameters

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

### <Icon icon="puzzle-piece" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> SetPropertyValue <Badge color="green">Extension</Badge>

<Note>Extension method from `System.Breakdance_Assemblies_ObjectExtensions`</Note>

#### Syntax

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

#### Parameters

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