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

# PrivateType

> This class represents a private class for the Private Accessor functionality.

## Definition

**Assembly:** CloudNimble.Breakdance.Assemblies.dll

**Namespace:** CloudNimble.Breakdance.Assemblies

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.Breakdance.Assemblies.PrivateType
```

## Summary

This class represents a private class for the Private Accessor functionality.

## Remarks

This type originally lived in Microsoft.VisualStudio.TestTools.UnitTesting but was removed from V2.

## Constructors

### &#x20;.ctor

Initializes a new instance of the [PrivateType](https://easyaf.nimbleapps.cloud/breakdance/api-reference/CloudNimble/Breakdance/Assemblies/PrivateType.md) class that contains the private type.

#### Syntax

```csharp theme={"dark"}
public PrivateType(string assemblyName, string typeName)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `assemblyName` | `string` | Assembly name |
| `typeName` | `string` | fully qualified name of the |

### &#x20;.ctor

Initializes a new instance of the [PrivateType](https://easyaf.nimbleapps.cloud/breakdance/api-reference/CloudNimble/Breakdance/Assemblies/PrivateType.md) class that contains
the private type from the type object

#### Syntax

```csharp theme={"dark"}
public PrivateType(System.Type type)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `type` | `System.Type` | The wrapped Type to create. |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;ReferencedType

Gets the referenced type

#### Syntax

```csharp theme={"dark"}
public System.Type ReferencedType { get; }
```

#### Property Value

Type: `System.Type`

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetStaticArrayElement

Gets the element in static array

#### Syntax

```csharp theme={"dark"}
public object GetStaticArrayElement(string name, params int[] indices)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the array |
| `indices` | `int[]` | A one-dimensional array of 32-bit integers that represent the indexes specifying |
| the position of the element to get. For instance, to access a\[10]\[11] the indices would be {10,11} | | |

#### Returns

Type: `object`
element at the specified location

### &#x20;GetStaticArrayElement

Gets the element in satatic array

#### Syntax

```csharp theme={"dark"}
public object GetStaticArrayElement(string name, System.Reflection.BindingFlags bindingFlags, params int[] indices)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the array |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional InvokeHelper attributes |
| `indices` | `int[]` | A one-dimensional array of 32-bit integers that represent the indexes specifying |
| the position of the element to get. For instance, to access a\[10]\[11] the array would be {10,11} | | |

#### Returns

Type: `object`
element at the spcified location

### &#x20;GetStaticField

Gets the static field

#### Syntax

```csharp theme={"dark"}
public object GetStaticField(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field |

#### Returns

Type: `object`
The static field.

### &#x20;GetStaticField

Gets the static field using specified InvokeHelper attributes

#### Syntax

```csharp theme={"dark"}
public object GetStaticField(string name, System.Reflection.BindingFlags bindingFlags)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes |

#### Returns

Type: `object`
The static field.

### &#x20;GetStaticFieldOrProperty

Gets the static field or property

#### Syntax

```csharp theme={"dark"}
public object GetStaticFieldOrProperty(string name)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field or property |

#### Returns

Type: `object`
The static field or property.

### &#x20;GetStaticFieldOrProperty

Gets the static field or property using specified InvokeHelper attributes

#### Syntax

```csharp theme={"dark"}
public object GetStaticFieldOrProperty(string name, System.Reflection.BindingFlags bindingFlags)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field or property |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes |

#### Returns

Type: `object`
The static field or property.

### &#x20;GetStaticProperty

Gets the static property

#### Syntax

```csharp theme={"dark"}
public object GetStaticProperty(string name, params object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field or property |
| `args` | `object[]` | Arguements to the invocation |

#### Returns

Type: `object`
The static property.

### &#x20;GetStaticProperty

Gets the static property

#### Syntax

```csharp theme={"dark"}
public object GetStaticProperty(string name, System.Reflection.BindingFlags bindingFlags, params object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the property |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes. |
| `args` | `object[]` | Arguments to pass to the member to invoke. |

#### Returns

Type: `object`
The static property.

### &#x20;GetStaticProperty

Gets the static property

#### Syntax

```csharp theme={"dark"}
public object GetStaticProperty(string name, System.Reflection.BindingFlags bindingFlags, System.Type[] parameterTypes, object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the property |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes. |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the indexed property. |
| `args` | `object[]` | Arguments to pass to the member to invoke. |

#### Returns

Type: `object`
The static property.

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;InvokeStatic

Invokes static member

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, params object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member to InvokeHelper |
| `args` | `object[]` | Arguements to the invoction |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes static member

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, System.Type[] parameterTypes, object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member to InvokeHelper |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the method to invoke |
| `args` | `object[]` | Arguements to the invoction |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes static member

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, System.Type[] parameterTypes, object[] args, System.Type[] typeArguments)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member to InvokeHelper |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the method to invoke |
| `args` | `object[]` | Arguements to the invoction |
| `typeArguments` | `System.Type[]` | An array of types corresponding to the types of the generic arguments. |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes the static method

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, object[] args, System.Globalization.CultureInfo culture)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member |
| `args` | `object[]` | Arguements to the invocation |
| `culture` | `System.Globalization.CultureInfo` | Culture |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes the static method

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, System.Type[] parameterTypes, object[] args, System.Globalization.CultureInfo culture)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the method to invoke |
| `args` | `object[]` | Arguements to the invocation |
| `culture` | `System.Globalization.CultureInfo` | Culture info |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes the static method

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, System.Reflection.BindingFlags bindingFlags, params object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes |
| `args` | `object[]` | Arguements to the invocation |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes the static method

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, System.Reflection.BindingFlags bindingFlags, System.Type[] parameterTypes, object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the method to invoke |
| `args` | `object[]` | Arguements to the invocation |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes the static method

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, System.Reflection.BindingFlags bindingFlags, object[] args, System.Globalization.CultureInfo culture)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes |
| `args` | `object[]` | Arguements to the invocation |
| `culture` | `System.Globalization.CultureInfo` | Culture |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes the static method

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, System.Reflection.BindingFlags bindingFlags, System.Type[] parameterTypes, object[] args, System.Globalization.CultureInfo culture)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the method to invoke |
| `args` | `object[]` | Arguements to the invocation |
| `culture` | `System.Globalization.CultureInfo` | Culture |

#### Returns

Type: `object`
Result of invocation

### &#x20;InvokeStatic

Invokes the static method

#### Syntax

```csharp theme={"dark"}
public object InvokeStatic(string name, System.Reflection.BindingFlags bindingFlags, System.Type[] parameterTypes, object[] args, System.Globalization.CultureInfo culture, System.Type[] typeArguments)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the member |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the method to invoke |
| `args` | `object[]` | Arguements to the invocation |
| `culture` | `System.Globalization.CultureInfo` | Culture |
| `typeArguments` | `System.Type[]` | An array of types corresponding to the types of the generic arguments. |

#### Returns

Type: `object`
Result of invocation

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;SetStaticArrayElement

Sets the memeber of the static array

#### Syntax

```csharp theme={"dark"}
public void SetStaticArrayElement(string name, object value, params int[] indices)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the array |
| `value` | `object` | value to set |
| `indices` | `int[]` | A one-dimensional array of 32-bit integers that represent the indexes specifying |
| the position of the element to set. For instance, to access a\[10]\[11] the array would be {10,11} | | |

### &#x20;SetStaticArrayElement

Sets the memeber of the static array

#### Syntax

```csharp theme={"dark"}
public void SetStaticArrayElement(string name, System.Reflection.BindingFlags bindingFlags, object value, params int[] indices)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the array |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional InvokeHelper attributes |
| `value` | `object` | value to set |
| `indices` | `int[]` | A one-dimensional array of 32-bit integers that represent the indexes specifying |
| the position of the element to set. For instance, to access a\[10]\[11] the array would be {10,11} | | |

### &#x20;SetStaticField

Sets the static field

#### Syntax

```csharp theme={"dark"}
public void SetStaticField(string name, object value)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field |
| `value` | `object` | Arguement to the invocation |

### &#x20;SetStaticField

Sets the static field using binding attributes

#### Syntax

```csharp theme={"dark"}
public void SetStaticField(string name, System.Reflection.BindingFlags bindingFlags, object value)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional InvokeHelper attributes |
| `value` | `object` | Arguement to the invocation |

### &#x20;SetStaticFieldOrProperty

Sets the static field or property

#### Syntax

```csharp theme={"dark"}
public void SetStaticFieldOrProperty(string name, object value)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field or property |
| `value` | `object` | Value to be set to field or property |

### &#x20;SetStaticFieldOrProperty

Sets the static field or property using binding attributes

#### Syntax

```csharp theme={"dark"}
public void SetStaticFieldOrProperty(string name, System.Reflection.BindingFlags bindingFlags, object value)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the field or property |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes |
| `value` | `object` | Value to be set to field or property |

### &#x20;SetStaticProperty

Sets the static property

#### Syntax

```csharp theme={"dark"}
public void SetStaticProperty(string name, object value, params object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the property |
| `value` | `object` | Value to be set to field or property |
| `args` | `object[]` | Arguments to pass to the member to invoke. |

### &#x20;SetStaticProperty

Sets the static property

#### Syntax

```csharp theme={"dark"}
public void SetStaticProperty(string name, object value, System.Type[] parameterTypes, object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the property |
| `value` | `object` | Value to be set to field or property |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the indexed property. |
| `args` | `object[]` | Arguments to pass to the member to invoke. |

### &#x20;SetStaticProperty

Sets the static property

#### Syntax

```csharp theme={"dark"}
public void SetStaticProperty(string name, System.Reflection.BindingFlags bindingFlags, object value, params object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the property |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes. |
| `value` | `object` | Value to be set to field or property |
| `args` | `object[]` | Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be null for non-indexed properties. |

### &#x20;SetStaticProperty

Sets the static property

#### Syntax

```csharp theme={"dark"}
public void SetStaticProperty(string name, System.Reflection.BindingFlags bindingFlags, object value, System.Type[] parameterTypes, object[] args)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | Name of the property |
| `bindingFlags` | `System.Reflection.BindingFlags` | Additional invocation attributes. |
| `value` | `object` | Value to be set to field or property |
| `parameterTypes` | `System.Type[]` | An array of [Type](https://learn.microsoft.com/dotnet/api/system.type) objects representing the number, order, and type of the parameters for the indexed property. |
| `args` | `object[]` | Arguments to pass to the member to invoke. |

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


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