    

 ## On this page

  

 

 #  Interface IHasLink

 Last update: 16.07.2025 

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

```csharp
public interface IHasLink

```

#### 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_Collections_IHasLink_GetLink_System_Collections_Generic_ICollection_VM_Managed_ILink__"></a> GetLink(ICollection)

```csharp
void GetLink(ICollection<ilink> colLinks)

```

#### Parameters

`colLinks` [ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1)[ILink](VM.Managed.ILink.md)&amp;gt;

### <a id="VM_Managed_Collections_IHasLink_RemoveLink_VM_Managed_ILink_"></a> RemoveLink(ILink)

Remove specific link from this object.

```csharp
bool RemoveLink(ILink link)

```

#### Parameters

`link` [ILink](VM.Managed.ILink.md)

The link to remove.

#### Returns

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

true when need to erase this object, otherwise false.