    

 ## On this page

  

 

 # Class XmlReaderExtension

 Last update: 09.03.2026 

<a id="VM_XmlReaderExtension"></a>

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

This class is to represent the xml reader utility.

```csharp
public static class XmlReaderExtension

```

#### Inheritance

object ← [XmlReaderExtension](VM.XmlReaderExtension.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_)

## Methods

### <a id="VM_XmlReaderExtension_ReadEndElementSafely_System_Xml_XmlReader_"></a> ReadEndElementSafely(XmlReader)

Read end-element, safely.

```csharp
public static void ReadEndElementSafely(this XmlReader reader)

```

#### Parameters

`reader` XmlReader

The XmlReader stream