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

# Class Group<TGroup, TItem>

Namespace: [VM.Managed.DAFUL.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre)\
Assembly: dfpredat.dll

The class is to represent the Group of Work.

```csharp theme={null}
public class Group<TGroup, TItem>
```

#### Type Parameters

`TGroup`

The type of the group.

`TItem`

The type of the item.

#### Inheritance

object ←
[Group\<TGroup, TItem>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.Group-2.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### Group()

Initializes a new instance of the Group\`2 class.

```csharp theme={null}
public Group()
```

### Group(string)

Initializes a new instance of the Group\`2 class.

```csharp theme={null}
public Group(string strName)
```

#### Parameters

`strName` string

Name of group.

## Properties

### Name

Gets or sets the name.

```csharp theme={null}
public string Name { get; set; }
```

#### Property Value

string

### SubGroups

Gets or sets the sub groups.

```csharp theme={null}
public List<TGroup> SubGroups { get; set; }
```

#### Property Value

List\<TGroup>

### SubItems

Gets or sets the sub items.

```csharp theme={null}
public List<TItem> SubItems { get; set; }
```

#### Property Value

List\<TItem>

## Methods

### Initialize()

Initializes this instance.

```csharp theme={null}
public virtual void Initialize()
```
