    

 ## On this page

  

 

 #  Interface IObjectSet

 Last update: 16.07.2025 

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

This interface is to represent the object that has a name.

```csharp
public interface IObjectSet

```

#### 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(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### <a id="VM_Managed_IObjectSet_GetCount"></a> GetCount()

Gets object set count.

```csharp
int GetCount()

```

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

The number of object in object set.

### <a id="VM_Managed_IObjectSet_GetElementKey_System_Int32_"></a> GetElementKey(int)

Gets the n-th object's element key.

```csharp
UIntPtr GetElementKey(int nIndex)

```

#### Parameters

`nIndex` [int](https://learn.microsoft.com/dotnet/api/system.int32)

The index of object set.

#### Returns

[UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

The n-th object's element key.

### <a id="VM_Managed_IObjectSet_GetElementType"></a> GetElementType()

Gets the elememt type.

```csharp
Type GetElementType()

```

#### Returns

[Type](https://learn.microsoft.com/dotnet/api/system.type)

The element type.