    

 ## On this page

  

 

 # Class Child&lt;T, TUpdate\\&gt;

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

This class is to represent the linked object relationship with its container object. The container object has a linked object.

```csharp
public sealed class Child<T, TUpdate> : ITypedLink<T>, ILink, IPostDeserialized where T : class, ILinkContainer where TUpdate : struct, ILinkContainerEvent.ILinkEventBuilder

```

#### Type Parameters

`T`

The link container.

`TUpdate`

The link event.

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [Child&lt;T, TUpdate&gt;](VM.Managed.Child-2.md)

#### Implements

[ITypedLink&lt;T&gt;](VM.Managed.ITypedLink-1.md), [ILink](VM.Managed.ILink.md), IPostDeserialized

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### Child(ILinkContainer)

Initializes a new instance of the  class.

```csharp
public Child(ILinkContainer objParent)

```

#### Parameters

`objParent` ILinkContainer

The linked object's container object.

### Child(ILinkContainer, T)

Initializes a new instance of the  class.

```csharp
public Child(ILinkContainer objParent, T obj)

```

#### Parameters

`objParent` ILinkContainer

The linked object's container object.

`obj` T

The linked object.

### Child(SerializationInfo, StreamingContext)

```csharp
protected Child(SerializationInfo info, StreamingContext context)

```

#### Parameters

`info` [SerializationInfo](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo)

`context` [StreamingContext](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext)

## Properties

### Object

Gets or sets the linked object.

```csharp
public virtual T Object { get; set; }

```

#### Property Value

T

## Methods

### Dispose(bool)

```csharp
protected void Dispose(bool A_0)

```

#### Parameters

`A_0` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Dispose()

destroy a instance of the  class.

```csharp
public override sealed void Dispose()

```

### GetObjectData(SerializationInfo, StreamingContext)

Serialization function for restore.

```csharp
void GetObjectData(SerializationInfo info, StreamingContext __unnamed001)

```

#### Parameters

`info` [SerializationInfo](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo)

The info.

`__unnamed001` [StreamingContext](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext)

### OnDeserialized(StreamingContext)

```csharp
[OnDeserialized]
public void OnDeserialized(StreamingContext context)

```

#### Parameters

`context` [StreamingContext](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext)

### OnPostDeserialized(StreamingContext)

```csharp
public void OnPostDeserialized(StreamingContext context)

```

#### Parameters

`context` [StreamingContext](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext)

### OnResetLink()

```csharp
protected void OnResetLink()

```

## Operators

### implicit operator T(Child&lt;T, TUpdate&gt;)

```csharp
public static implicit operator T(Child<T, TUpdate> child)

```

#### Parameters

`child` [Child](VM.Managed.Child-2.md)&lt;T, TUpdate&gt;

#### Returns

T