    

 ## On this page

  

 

 # Class MemberItem&lt;TDescriptor\\&gt;

 Last update: 09.03.2026 

<a id="VM_MemberItem_1"></a>

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

```csharp
public abstract class MemberItem<TDescriptor> where TDescriptor : MemberDescriptor

```

#### Type Parameters

`TDescriptor`

#### Inheritance

object ← [MemberItem&lt;TDescriptor&gt;](VM.MemberItem-1.md)

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

### <a id="VM_MemberItem_1__ctor__0_"></a> MemberItem(TDescriptor)

```csharp
protected MemberItem(TDescriptor memberDescriptor)

```

#### Parameters

`memberDescriptor` TDescriptor

## Properties

### <a id="VM_MemberItem_1_Attributes"></a> Attributes

```csharp
public IEnumerable<Attribute> Attributes { get; }

```

#### Property Value

IEnumerable&lt;Attribute&gt;

### <a id="VM_MemberItem_1_MemberDescriptor"></a> MemberDescriptor

```csharp
protected TDescriptor MemberDescriptor { get; }

```

#### Property Value

TDescriptor

## Methods

### <a id="VM_MemberItem_1_HasAttribute__1"></a> HasAttribute&lt;T&gt;()

```csharp
public bool HasAttribute<T>() where T : Attribute

```

#### Returns

bool

#### Type Parameters

`T`

### <a id="VM_MemberItem_1_TryGetAttributeInstance__1___0__"></a> TryGetAttributeInstance&lt;T&gt;(out T)

```csharp
public bool TryGetAttributeInstance<T>(out T attribute) where T : Attribute

```

#### Parameters

`attribute` T

#### Returns

bool

#### Type Parameters

`T`